diff options
-rw-r--r-- | lumina-fm/MainUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 9e6039a7..ad73b407 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -762,7 +762,7 @@ void MainUI::ItemRun(const QModelIndex &index){ setCurrentDir( itemPath ); }else{ //Must be a file, try to run it - QProcess::startDetached("lumina-open "+itemPath); + QProcess::startDetached("lumina-open \""+itemPath+"\""); } } @@ -776,7 +776,7 @@ void MainUI::ItemRun(QTreeWidgetItem *item){ setCurrentDir( itemPath ); }else{ //Must be a file, try to run it - QProcess::startDetached("lumina-open "+itemPath); + QProcess::startDetached("lumina-open \""+itemPath+"\""); } } @@ -790,7 +790,7 @@ void MainUI::ItemRun(QListWidgetItem *item){ setCurrentDir( itemPath ); }else{ //Must be a file, try to run it - QProcess::startDetached("lumina-open "+itemPath); + QProcess::startDetached("lumina-open \""+itemPath+"\""); } } |