diff options
Diffstat (limited to 'src/client/toolbar/toolbar.cpp')
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 2a04c70..8cb37aa 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -501,7 +501,7 @@ void Toolbar::onBtnCustom() if (on) { _ui->btnCustom->setStyleSheet("background-color: red; color: white; font: bold"); _ui->btnCustom->setText("Debug mode: ON"); - this->runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); + this->runDbg.startDetached("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); } else { this->runDbg.close(); } @@ -518,7 +518,7 @@ void Toolbar::onBtnLockDesktop() if (this->lockDesktopP.state() == QProcess::NotRunning) { _ui->btnLockDesktop->setEnabled(false); _ui->btnManager->setEnabled(false); - this->lockDesktopP.startDetached("/bin/sh", QStringList() << "/opt/openslx/pvs2/lockDesktop.sh"); + this->lockDesktopP.start("/bin/sh", QStringList() << "/opt/openslx/pvs2/lockDesktop.sh"); QTimer::singleShot(2 * 1000, this, SLOT(enableLockBtn())); |