aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/ExternalProcess.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-07-27 16:21:31 +0000
committerWeblate <noreply@weblate.org>2017-07-27 16:21:31 +0000
commita528ad301649fe76cab31a4ef2851973aefbe587 (patch)
tree9ac8a6cf1191c387d8c61dde4eb34b07884815e8 /src-qt5/core/libLumina/ExternalProcess.h
parentTranslated using Weblate (Lithuanian) (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-a528ad301649fe76cab31a4ef2851973aefbe587.tar.gz
lumina-a528ad301649fe76cab31a4ef2851973aefbe587.tar.bz2
lumina-a528ad301649fe76cab31a4ef2851973aefbe587.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