aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/ExternalProcess.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-07-21 13:52:32 -0400
committerKen Moore <ken@ixsystems.com>2017-07-21 13:52:32 -0400
commite22ce7dfc13348560af6b1d04d935dbc1358e2ce (patch)
tree4b038502667fb4dbce2b25dbdde69b1d6b855193 /src-qt5/core/libLumina/ExternalProcess.h
parentFix up some multi-monitor issues with Lumina2 (Qt auto-scaling is a really ba... (diff)
downloadlumina-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/ExternalProcess.h')
-rw-r--r--src-qt5/core/libLumina/ExternalProcess.h6
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); }
}
bgstack15