summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe/connectionframe.cpp
diff options
context:
space:
mode:
authorsr2013-02-05 19:48:39 +0100
committersr2013-02-05 19:48:39 +0100
commite9b4cb4721b7c7f02728e22f92f5ad7a94828521 (patch)
tree14e7573bf8ec0764cb9b9519f81ceb49830b777a /src/server/connectionframe/connectionframe.cpp
parent... (diff)
downloadpvs2-e9b4cb4721b7c7f02728e22f92f5ad7a94828521.tar.gz
pvs2-e9b4cb4721b7c7f02728e22f92f5ad7a94828521.tar.xz
pvs2-e9b4cb4721b7c7f02728e22f92f5ad7a94828521.zip
[SERVER] Go back from ClientId to int, so queued signal/slot connections work
Diffstat (limited to 'src/server/connectionframe/connectionframe.cpp')
-rw-r--r--src/server/connectionframe/connectionframe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp
index a05af95..df93525 100644
--- a/src/server/connectionframe/connectionframe.cpp
+++ b/src/server/connectionframe/connectionframe.cpp
@@ -100,7 +100,7 @@ void ConnectionFrame::assignClient(Client* client)
connect(client, SIGNAL(disconnected()), this, SLOT(onClientDisconnected()));
connect(client, SIGNAL(thumbUpdated(Client*, const QPixmap&)), this, SLOT(onThumbUpdated(Client*, const QPixmap&)));
connect(client, SIGNAL(vncServerStateChange(Client*)), this, SLOT(onVncServerStateChange(Client*)));
- connect(client, SIGNAL(vncClientStateChange(Client*, ClientId)), this, SLOT(onVncClientStateChange(Client*, ClientId)));
+ connect(client, SIGNAL(vncClientStateChange(Client*, int)), this, SLOT(onVncClientStateChange(Client*, int)));
_client = client;
_computerId = client->computerId();
_lblHostName->setText(client->ip());
@@ -280,7 +280,7 @@ void ConnectionFrame::onVncServerStateChange(Client* client)
this->updateColor();
}
-void ConnectionFrame::onVncClientStateChange(Client* client, ClientId lastSource)
+void ConnectionFrame::onVncClientStateChange(Client* client, int lastSource)
{
this->updateColor();
}