summaryrefslogtreecommitdiffstats
path: root/src/client/toolbar/toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/toolbar/toolbar.cpp')
-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();