diff --git a/src/GUI.cpp b/src/GUI.cpp index 050b39645..8cb46d78e 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -439,7 +439,7 @@ void GUI::on_actionExit_triggered() { } void GUI::previewFile(QString filePath) { - QDesktopServices::openUrl(filePath); + QDesktopServices::openUrl(QString("file://")+filePath); } unsigned int GUI::getCurrentTabIndex() const{