diff options
author | Christoph Schulthess | 2017-03-20 13:28:21 +0100 |
---|---|---|
committer | Christoph Schulthess | 2017-03-20 13:28:21 +0100 |
commit | e91c26d38456e04c2f06747e50f8a616e792afb2 (patch) | |
tree | 5e0b42bbfac81d469f638cea3d012229655c540b | |
parent | onBtnCustom function (diff) | |
download | pvs2-e91c26d38456e04c2f06747e50f8a616e792afb2.tar.gz pvs2-e91c26d38456e04c2f06747e50f8a616e792afb2.tar.xz pvs2-e91c26d38456e04c2f06747e50f8a616e792afb2.zip |
changed custom button func
-rw-r--r-- | gui/client/toolbar.ui | 3 | ||||
-rw-r--r-- | 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; } <property name="text"> <string>Custom Script</string> </property> - <property name="checkable"> - <bool>true</bool> - </property> </widget> </item> </layout> 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() |