summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schulthess2017-03-22 17:23:44 +0100
committerChristoph Schulthess2017-03-22 17:23:44 +0100
commitdbcb6487fe2b82bc1defbad600538f928c646e11 (patch)
tree45456c09bc5d0920c8fb6f448503891efc903159
parenttesting (diff)
downloadpvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.tar.gz
pvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.tar.xz
pvs2-dbcb6487fe2b82bc1defbad600538f928c646e11.zip
Testing
-rw-r--r--src/client/toolbar/toolbar.cpp7
-rw-r--r--src/client/toolbar/toolbar.h1
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp
index 531fcb2..7eb002f 100644
--- a/src/client/toolbar/toolbar.cpp
+++ b/src/client/toolbar/toolbar.cpp
@@ -497,11 +497,10 @@ void Toolbar::onBtnManager()
void Toolbar::onBtnCustom()
{
- QProcess runDbg;
//const bool on = _ui->btnCustom->isChecked();
- runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh");
- qDebug() << runDbg.exitCode();
- qDebug.waitForFinished();
+ this->runDbg.start("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug.sh");
+
+ qDebug() << this->runDbg.state();
}
void Toolbar::onBtnLockDesktop()
diff --git a/src/client/toolbar/toolbar.h b/src/client/toolbar/toolbar.h
index 03c67eb..886a590 100644
--- a/src/client/toolbar/toolbar.h
+++ b/src/client/toolbar/toolbar.h
@@ -60,6 +60,7 @@ private:
void initMenu();
QProcess lockDesktopP;
+ QProcess runDbg;
private slots:
void onVncServerIsRunning(int port);