aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/ExternalProcess.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-07-24 13:50:24 +0000
committerWeblate <noreply@weblate.org>2017-07-24 13:50:24 +0000
commit2ca3b73a3e1d9697bd3abacc7d2d03c267b29af1 (patch)
tree54154f27b72df47b181d12b36d710f3ca246b435 /src-qt5/core/libLumina/ExternalProcess.h
parentMerge branch 'master' of github.com:trueos/lumina (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-2ca3b73a3e1d9697bd3abacc7d2d03c267b29af1.tar.gz
lumina-2ca3b73a3e1d9697bd3abacc7d2d03c267b29af1.tar.bz2
lumina-2ca3b73a3e1d9697bd3abacc7d2d03c267b29af1.zip
Merge remote-tracking branch 'origin/master'
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