summaryrefslogtreecommitdiffstats
path: root/src/client/toolbar/toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/toolbar/toolbar.cpp')
-rw-r--r--src/client/toolbar/toolbar.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp
index 531fcb2..7eb002f 100644
--- a/src/client/toolbar/toolbar.cpp
+++ b/src/client/toolbar/toolbar.cpp
@@ -497,11 +497,10 @@ void Toolbar::onBtnManager()
void Toolbar::onBtnCustom()
{
- QProcess runDbg;
//const bool on = _ui->btnCustom->isChecked();
- runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh");
- qDebug() << runDbg.exitCode();
- qDebug.waitForFinished();
+ this->runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh");
+
+ qDebug() << this->runDbg.state();
}
void Toolbar::onBtnLockDesktop()