diff options
| author | Christoph Schulthess | 2017-03-22 17:23:44 +0100 |
|---|---|---|
| committer | Christoph Schulthess | 2017-03-22 17:23:44 +0100 |
| commit | dbcb6487fe2b82bc1defbad600538f928c646e11 (patch) | |
| tree | 45456c09bc5d0920c8fb6f448503891efc903159 /src/client | |
| parent | testing (diff) | |
| download | pvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.tar.gz pvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.tar.xz pvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.zip | |
Testing
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/toolbar/toolbar.cpp | 7 | ||||
| -rw-r--r-- | src/client/toolbar/toolbar.h | 1 |
2 files changed, 4 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() diff --git a/src/client/toolbar/toolbar.h b/src/client/toolbar/toolbar.h index 03c67eb..886a590 100644 --- a/src/client/toolbar/toolbar.h +++ b/src/client/toolbar/toolbar.h @@ -60,6 +60,7 @@ private: void initMenu(); QProcess lockDesktopP; + QProcess runDbg; private slots: void onVncServerIsRunning(int port); |
