diff options
author | Simon Rettberg | 2016-10-24 16:45:54 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-10-24 16:45:54 +0200 |
commit | 4f960eb9365a5694cb39d384eff05450f71a9283 (patch) | |
tree | f3298103802e92a4ec79dbce33be19c38e0090d7 /src/client | |
parent | [client] Add icon to attention button, hide button when disconnected (diff) | |
download | pvs2-4f960eb9365a5694cb39d384eff05450f71a9283.tar.gz pvs2-4f960eb9365a5694cb39d384eff05450f71a9283.tar.xz pvs2-4f960eb9365a5694cb39d384eff05450f71a9283.zip |
[client] Fix "toogle vm/manager" button (copy&paste error..)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 2 |
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 { |