diff options
author | Christoph Schulthess | 2017-04-24 16:22:50 +0200 |
---|---|---|
committer | Christoph Schulthess | 2017-04-24 16:22:50 +0200 |
commit | 036db276117758e772cd372dd8ca3e793ec6e1a8 (patch) | |
tree | b0237075468baf464ee967f549dd035c828817d9 | |
parent | test (diff) | |
download | pvs2-036db276117758e772cd372dd8ca3e793ec6e1a8.tar.gz pvs2-036db276117758e772cd372dd8ca3e793ec6e1a8.tar.xz pvs2-036db276117758e772cd372dd8ca3e793ec6e1a8.zip |
test
-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())); |