changeset 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 95c44f5fd468
children 6536ee80913b
files main/MainWindow.cpp repoint-lock.json
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
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
--- a/repoint-lock.json	Tue Jul 03 15:06:53 2018 +0100
+++ b/repoint-lock.json	Tue Jul 03 15:36:27 2018 +0100
@@ -10,7 +10,7 @@
       "pin": "be935f9b2ae6"
     },
     "svapp": {
-      "pin": "ffda5e5444aa"
+      "pin": "125200a67543"
     },
     "checker": {
       "pin": "3ccc384c0161"