Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 1930:4e43b07eb84d
Use openLocalFolder for this; + update subdir to wait for xdg-open completion (as it used to do with previous process call)
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2018 15:36:27 +0100 |
parents | e5229958a10c |
children | 10d4d93bd885 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Tue Jul 03 15:06:53 2018 +0100 +++ b/main/MainWindow.cpp Tue Jul 03 15:36:27 2018 +0100 @@ -122,7 +122,6 @@ #include <QRegExp> #include <QScrollArea> #include <QCloseEvent> -#include <QDesktopServices> #include <QDialogButtonBox> #include <QFileSystemWatcher> #include <QTextEdit> @@ -3445,7 +3444,7 @@ MainWindow::manageSavedTemplates() { ResourceFinder rf; - QDesktopServices::openUrl("file:" + rf.getResourceSaveDir("templates")); + openLocalFolder(rf.getResourceSaveDir("templates")); } void