diff --git a/smsapp/qml/AttachmentViewer.qml b/smsapp/qml/AttachmentViewer.qml index 7885dfa81..55d80c70f 100644 --- a/smsapp/qml/AttachmentViewer.qml +++ b/smsapp/qml/AttachmentViewer.qml @@ -20,7 +20,7 @@ Kirigami.Page { text: i18nd("kdeconnect-sms", "Open with default") icon.name: "window-new" onTriggered: { - Qt.openUrlExternally(filePath); + Qt.openUrlExternally(Qt.url(`file://${filePath}`)) } } ]