diff options
author | Manuel Schneider | 2014-05-27 13:59:32 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-05-27 13:59:32 +0200 |
commit | 5ebc441ec452b5e10490b514ae147c6c88ef9c60 (patch) | |
tree | bab27ed52c62237b7774afd1efe1ae0f2f7efa5a /src/server/mainwindow/mainwindow.cpp | |
parent | Mainwindow takes full control over management. No need for abritrary polls. (diff) | |
download | pvs2-5ebc441ec452b5e10490b514ae147c6c88ef9c60.tar.gz pvs2-5ebc441ec452b5e10490b514ae147c6c88ef9c60.tar.xz pvs2-5ebc441ec452b5e10490b514ae147c6c88ef9c60.zip |
Lock is already handled in onVncServerStateChange.
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r-- | src/server/mainwindow/mainwindow.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index e0f5269..e4958b0 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -484,16 +484,8 @@ void MainWindow::multicast(Client *from, Client *to, bool blockOthers) _streamingSource->stopVncServer(); _streamingSource = from; - from->stopVncClient(); _watchers.insert(to->id(), to); - if (blockOthers) { - // Set lock others - for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it) - if ((*it)->client() != NULL && (*it)->client() != from && (*it)->client() != to) - (*it)->client()->lockScreen(true); - } - if (from->isActiveVncServer()) // From is already active this->onVncServerStateChange(from); else // Could not take shortcut, (re)start VNC server on source |