diff options
author | Weblate <noreply@weblate.org> | 2017-07-27 16:21:31 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-07-27 16:21:31 +0000 |
commit | a528ad301649fe76cab31a4ef2851973aefbe587 (patch) | |
tree | 9ac8a6cf1191c387d8c61dde4eb34b07884815e8 /src-qt5/core/libLumina/ExternalProcess.h | |
parent | Translated using Weblate (Lithuanian) (diff) | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | lumina-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.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); } } |