From f1aa1f993db5d9b1d506fe59ba0ace0211dc4e77 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 9 Dec 2007 09:30:06 +0000 Subject: [PATCH] - Fixed preview when path contain spaces --- src/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{