summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorManuel Schneider2014-05-27 01:32:01 +0200
committerManuel Schneider2014-05-27 01:32:01 +0200
commit5c8d314be18e2ab80c3a72e3bce4a1acdb2c3fb1 (patch)
tree2834f960f7c11bbd5ebce08b60af3fcb888f94ca /src/server/mainwindow/mainwindow.cpp
parentChange _currentProjectionSource before emit. Fixes Appearance bug. (diff)
downloadpvs2-5c8d314be18e2ab80c3a72e3bce4a1acdb2c3fb1.tar.gz
pvs2-5c8d314be18e2ab80c3a72e3bce4a1acdb2c3fb1.tar.xz
pvs2-5c8d314be18e2ab80c3a72e3bce4a1acdb2c3fb1.zip
Drop _isBroadcastSource. The client must not know anything about the management.
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index c1fc2a5..7f0586f 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -494,7 +494,6 @@ void MainWindow::multicast(Client *from, Client *to, bool blockOthers)
to->stopVncServer();
from->stopVncClient();
- to->setBroadcastSource(false);
_watchers.insert(to->id(), to);
if (blockOthers) {
@@ -627,7 +626,6 @@ void MainWindow::onButtonStopProjection()
if (c == NULL)
continue;
c->stopVncClient();
- c->setBroadcastSource(false);
}
for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it)