diff options
| author | Manuel Schneider | 2014-05-27 13:56:36 +0200 |
|---|---|---|
| committer | Manuel Schneider | 2014-05-27 13:56:36 +0200 |
| commit | b3674cfe63e91deb2405cc3713c8643cfc1a7f1a (patch) | |
| tree | 3db3aafc13dcb3378a0affc2b5dc99ded3781d5a | |
| parent | Add icon for locked screen. Add monochrome and stylized connectionframe icons. (diff) | |
| download | pvs2-b3674cfe63e91deb2405cc3713c8643cfc1a7f1a.tar.gz pvs2-b3674cfe63e91deb2405cc3713c8643cfc1a7f1a.tar.xz pvs2-b3674cfe63e91deb2405cc3713c8643cfc1a7f1a.zip | |
Mainwindow takes full control over management. No need for abritrary polls.
| -rw-r--r-- | src/server/mainwindow/mainwindow.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index 7f0586f..e0f5269 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -451,7 +451,6 @@ void MainWindow::broadcast(Client *from) // Server must not listen to anybody _streamingSource->stopVncClient(); - // Set desired projection source on all clients, if not "from" or oflline for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it) if ((*it)->client() != NULL && (*it)->client() != _streamingSource) @@ -485,14 +484,6 @@ void MainWindow::multicast(Client *from, Client *to, bool blockOthers) _streamingSource->stopVncServer(); _streamingSource = from; - // Projection source is never allowed to be an active VNC viewer - if (from->isActiveVncClient()) - from->stopVncClient(); - - // Projection destination is never allowed to be an active VNC server - if (to->isActiveVncServer()) - to->stopVncServer(); - from->stopVncClient(); _watchers.insert(to->id(), to); |
