diff options
Diffstat (limited to 'src/server/connectionframe')
| -rw-r--r-- | src/server/connectionframe/connectionframe.cpp | 4 | ||||
| -rw-r--r-- | src/server/connectionframe/connectionframe.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp index 05e24a4..a05af95 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*)), this, SLOT(onVncClientStateChange(Client*))); + connect(client, SIGNAL(vncClientStateChange(Client*, ClientId)), this, SLOT(onVncClientStateChange(Client*, ClientId))); _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) +void ConnectionFrame::onVncClientStateChange(Client* client, ClientId lastSource) { this->updateColor(); } diff --git a/src/server/connectionframe/connectionframe.h b/src/server/connectionframe/connectionframe.h index cc7ab05..ac1a0a8 100644 --- a/src/server/connectionframe/connectionframe.h +++ b/src/server/connectionframe/connectionframe.h @@ -71,7 +71,7 @@ private slots: void onClientDisconnected(); void onThumbUpdated(Client* client, const QPixmap& thumb); void onVncServerStateChange(Client* client); - void onVncClientStateChange(Client* client); + void onVncClientStateChange(Client* client, ClientId lastSource); }; #endif |
