summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp8
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