summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorManuel Schneider2014-05-27 01:24:49 +0200
committerManuel Schneider2014-05-27 01:24:49 +0200
commitcf03683a0485ba757f4496ddc1ae92267d682595 (patch)
tree27bef0c5f7b2fd83cd5a77410fd165e4271b91f3 /src/server/mainwindow/mainwindow.cpp
parentUse enums for modes since not all combinations of _broadcast and _lockOthers ... (diff)
downloadpvs2-cf03683a0485ba757f4496ddc1ae92267d682595.tar.gz
pvs2-cf03683a0485ba757f4496ddc1ae92267d682595.tar.xz
pvs2-cf03683a0485ba757f4496ddc1ae92267d682595.zip
Dont emit _currentProjectionSource in signal vncClientStateChange . (not used)
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 60623ea..c1fc2a5 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -769,7 +769,7 @@ void MainWindow::onClientAuthenticated(Client* client)
qDebug("Entering onClientAuthenticated - Slot.");
disconnect(client, SIGNAL(authenticated(Client*)), this, SLOT(onClientAuthenticated(Client*)));
connect(client, SIGNAL(vncServerStateChange(Client*)), this, SLOT(onVncServerStateChange(Client*)), Qt::QueuedConnection);
- connect(client, SIGNAL(vncClientStateChange(Client*, int)), this, SLOT(onVncClientStateChange(Client*, int)), Qt::QueuedConnection);
+ connect(client, SIGNAL(vncClientStateChange(Client*)), this, SLOT(onVncClientStateChange(Client*)), Qt::QueuedConnection);
bool hasActiveTutor = false;
ConnectionFrame *existing = NULL;
for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it)
@@ -919,7 +919,7 @@ void MainWindow::onVncServerStateChange(Client* client)
* @param client
* @param lastProjectionSource
*/
-void MainWindow::onVncClientStateChange(Client* client, int lastProjectionSource)
+void MainWindow::onVncClientStateChange(Client* client)
{
if (!isValidClient(client)) // Check here because this slot is connected queued
return;