diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-21 13:52:32 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-21 13:52:32 -0400 |
commit | e22ce7dfc13348560af6b1d04d935dbc1358e2ce (patch) | |
tree | 4b038502667fb4dbce2b25dbdde69b1d6b855193 /src-qt5/core/libLumina | |
parent | Fix up some multi-monitor issues with Lumina2 (Qt auto-scaling is a really ba... (diff) | |
download | lumina-e22ce7dfc13348560af6b1d04d935dbc1358e2ce.tar.gz lumina-e22ce7dfc13348560af6b1d04d935dbc1358e2ce.tar.bz2 lumina-e22ce7dfc13348560af6b1d04d935dbc1358e2ce.zip |
Start adding the application launch functionality to the session (untested)
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r-- | src-qt5/core/libLumina/ExternalProcess.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/ExternalProcess.h b/src-qt5/core/libLumina/ExternalProcess.h index a8a5e605..b1e56af8 100644 --- a/src-qt5/core/libLumina/ExternalProcess.h +++ b/src-qt5/core/libLumina/ExternalProcess.h @@ -44,7 +44,7 @@ private slots: } public: - ExternalProcess(QString logfile = "", bool manageCursors = true) : QProcess(){ + ExternalProcess(QString logfile = "", bool manageCursors = false) : QProcess(){ this->setProcessChannelMode(QProcess::MergedChannels); cursorRestored = !manageCursors; if(logfile.isEmpty()){ @@ -62,9 +62,9 @@ public: }*/ } - static void launch(QString program, QStringList args = QStringList()){ + static void launch(QString program, QStringList args = QStringList(), bool manageCursors = false){ //Quick launch of a process with logging disabled and automatic cleanup - ExternalProcess *tmp = new ExternalProcess(); + ExternalProcess *tmp = new ExternalProcess("", manageCursors); if(args.isEmpty()){ tmp->start(program); } else{ tmp->start(program, args); } } |