Skip to content

Commit

Permalink
fix path in executeFile #120
Browse files Browse the repository at this point in the history
rodlie committed Mar 8, 2019
1 parent 7565faf commit 0eda4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fm/src/actiontriggers.cpp
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ void MainWindow::executeFile(QModelIndex index, bool run) {
#ifdef Q_OS_MAC
myProcess->startDetached(QString("open %1").arg(modelList->filePath(srcIndex)));
#else
myProcess->startDetached(modelList->filePath(srcIndex));
myProcess->startDetached(QString("\"%1\"").arg(modelList->filePath(srcIndex)));
#endif
} else {
mimeUtils->openInApp(modelList->fileInfo(srcIndex), ""/*term*/);

0 comments on commit 0eda4d1

Please sign in to comment.