diff options
author | Christoph Schulthess | 2017-05-02 10:43:25 +0200 |
---|---|---|
committer | Christoph Schulthess | 2017-05-02 10:43:25 +0200 |
commit | bc31a5ac3c8fdad9bddff9a46a88db10f566639c (patch) | |
tree | 62f9f21ec65c8d12a6718832bad3f94f73b6fcc9 /src/client | |
parent | test (diff) | |
download | pvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.tar.gz pvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.tar.xz pvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.zip |
test
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 598b7e3..41798dd 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -500,12 +500,11 @@ void Toolbar::onBtnCustom() { const bool on = _ui->btnCustom->isChecked(); if (on) { - this->runDbg.start("/bin/sh", QStringList() << "-c" << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); + this->runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); _ui->btnCustom->setStyleSheet("background-color: red; color: white; font: bold"); _ui->btnCustom->setText("Debug mode: ON"); } else { - this->runDbg.terminate(); - + this->runDbg.terminate(); } qDebug() << "state: " << this->runDbg.state(); qDebug() << "error: " << this->runDbg.errorString(); |