summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2016-10-24 16:45:54 +0200
committerSimon Rettberg2016-10-24 16:45:54 +0200
commit4f960eb9365a5694cb39d384eff05450f71a9283 (patch)
treef3298103802e92a4ec79dbce33be19c38e0090d7
parent[client] Add icon to attention button, hide button when disconnected (diff)
downloadpvs2-4f960eb9365a5694cb39d384eff05450f71a9283.tar.gz
pvs2-4f960eb9365a5694cb39d384eff05450f71a9283.tar.xz
pvs2-4f960eb9365a5694cb39d384eff05450f71a9283.zip
[client] Fix "toogle vm/manager" button (copy&paste error..)
-rw-r--r--src/client/toolbar/toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp
index c1b5b7a..56e1c23 100644
--- a/src/client/toolbar/toolbar.cpp
+++ b/src/client/toolbar/toolbar.cpp
@@ -501,7 +501,7 @@ void Toolbar::onBtnAttention()
void Toolbar::onBtnManager()
{
QProcess switchP;
- const bool on = _ui->btnAttention->isChecked();
+ const bool on = _ui->btnManager->isChecked();
if (on) {
switchP.start("/bin/sh", QStringList() << "/opt/openslx/pvs2/switchToManager.sh");
} else {