From 5ebc441ec452b5e10490b514ae147c6c88ef9c60 Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Tue, 27 May 2014 13:59:32 +0200 Subject: Lock is already handled in onVncServerStateChange. --- src/server/mainwindow/mainwindow.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/server/mainwindow/mainwindow.cpp') 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::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 -- cgit v1.2.3-55-g7522