diff options
author | Christoph Schulthess | 2017-04-24 16:33:07 +0200 |
---|---|---|
committer | Christoph Schulthess | 2017-04-24 16:33:07 +0200 |
commit | 424882caa696c28ae82e498591d9e72ed2a9461c (patch) | |
tree | e171b92103adcd0b4642022cc1b2eef64637c0ad | |
parent | test (diff) | |
download | pvs2-424882caa696c28ae82e498591d9e72ed2a9461c.tar.gz pvs2-424882caa696c28ae82e498591d9e72ed2a9461c.tar.xz pvs2-424882caa696c28ae82e498591d9e72ed2a9461c.zip |
test
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 823fae6..3665607 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -503,15 +503,12 @@ void Toolbar::onBtnCustom() _ui->btnCustom->setStyleSheet("background-color: red; color: white; font: bold"); _ui->btnCustom->setText("Debug mode: ON"); } else { - this->runDbg.close(); + this->runDbg.terminate(); _ui->btnCustom->setStyleSheet("background-color: grey; color: black; font: bold"); _ui->btnCustom->setText("Debug mode: OFF"); } qDebug() << "state: " << this->runDbg.state(); qDebug() << "error: " << this->runDbg.errorString(); - - this->runDbg.waitForFinished(); - } void Toolbar::onBtnLockDesktop() |