summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-04-23 18:19:57 +0200
committerBjörn Hagemeister2014-04-23 18:19:57 +0200
commit4af9cabb969c68abfd216588da94cae8eb1695c8 (patch)
tree621782e8e420e4a24f4b3dc4e478b5f547aa8fa8 /src/server/mainwindow/mainwindow.cpp
parentDelete accidental temp-file commit (diff)
downloadpvs2-4af9cabb969c68abfd216588da94cae8eb1695c8.tar.gz
pvs2-4af9cabb969c68abfd216588da94cae8eb1695c8.tar.xz
pvs2-4af9cabb969c68abfd216588da94cae8eb1695c8.zip
Fix status icon updating not working
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index e3b7952..aeac347 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -599,14 +599,17 @@ void MainWindow::onButtonStopProjection()
c->setDesiredProjectionSource(0);
c->setProjectionSource(false);
}
- NetworkMessage msg;
- msg.setField(_ID, _VNCCLIENT);
+ NetworkMessage stopVncClientmsg;
+ NetworkMessage stopVncServermsg;
+ stopVncClientmsg.setField(_ID, _VNCCLIENT);
+ stopVncServermsg.setField(_ID, _VNCSERVER);
for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it)
{
Client *c = (**it).client();
if (c == NULL)
continue;
- c->sendMessage(msg);
+ c->sendMessage(stopVncClientmsg);
+ c->sendMessage(stopVncServermsg);
}
}