From e91c26d38456e04c2f06747e50f8a616e792afb2 Mon Sep 17 00:00:00 2001 From: Christoph Schulthess Date: Mon, 20 Mar 2017 13:28:21 +0100 Subject: changed custom button func --- gui/client/toolbar.ui | 3 --- src/client/toolbar/toolbar.cpp | 7 ++----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui index aabd30a..9ed3662 100644 --- a/gui/client/toolbar.ui +++ b/gui/client/toolbar.ui @@ -289,9 +289,6 @@ p, li { white-space: pre-wrap; } Custom Script - - true - diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 4b714e2..204d10a 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -498,11 +498,8 @@ void Toolbar::onBtnManager() void Toolbar::onBtnCustom() { QProcess runDbg; - const bool on = _ui->btnCustom->isChecked(); - if (on) { - runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh"); - } - runDbg.waitForFinished(); + //const bool on = _ui->btnCustom->isChecked(); + runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh"); } void Toolbar::onBtnLockDesktop() -- cgit v1.2.3-55-g7522