From 424882caa696c28ae82e498591d9e72ed2a9461c Mon Sep 17 00:00:00 2001 From: Christoph Schulthess Date: Mon, 24 Apr 2017 16:33:07 +0200 Subject: test --- src/client/toolbar/toolbar.cpp | 5 +---- 1 file changed, 1 insertion(+), 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() -- cgit v1.2.3-55-g7522