summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schulthess2017-05-02 10:43:25 +0200
committerChristoph Schulthess2017-05-02 10:43:25 +0200
commitbc31a5ac3c8fdad9bddff9a46a88db10f566639c (patch)
tree62f9f21ec65c8d12a6718832bad3f94f73b6fcc9
parenttest (diff)
downloadpvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.tar.gz
pvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.tar.xz
pvs2-bc31a5ac3c8fdad9bddff9a46a88db10f566639c.zip
test
-rw-r--r--src/client/toolbar/toolbar.cpp5
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();