From 4ad0e8f954c88935872c32e2df2d72a8dd00ad02 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 11 Jan 2017 09:41:01 -0500 Subject: Remove the "detach" option from the ExternalProcess class. Need to find out the exact function to call to detach a live process from a QProcess. --- src-qt5/core/libLumina/ExternalProcess.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina/ExternalProcess.h') diff --git a/src-qt5/core/libLumina/ExternalProcess.h b/src-qt5/core/libLumina/ExternalProcess.h index 4cf91ccd..1325247f 100644 --- a/src-qt5/core/libLumina/ExternalProcess.h +++ b/src-qt5/core/libLumina/ExternalProcess.h @@ -33,9 +33,9 @@ public: connect(this, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(processFinished()) ); } ~ExternalProcess(){ - if(this->state() == QProcess::Running){ + /*if(this->state() == QProcess::Running){ this->detach(); //about to close down the QProcess - detach the other program so it can continue functioning normally. - } + }*/ } static void launch(QString program, QStringList args = QStringList()){ -- cgit