diff options
author | Simon Rettberg | 2016-02-08 16:48:29 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-02-08 16:48:29 +0100 |
commit | de708185c77aa451682fa96fbca4dcc6c8091c44 (patch) | |
tree | e925e32649545dad8a4e373326da9314b4f1dd28 /src/server/connectionframe/connectionframe.cpp | |
parent | [client] Remove jpeg quality debug message (diff) | |
download | pvs2-de708185c77aa451682fa96fbca4dcc6c8091c44.tar.gz pvs2-de708185c77aa451682fa96fbca4dcc6c8091c44.tar.xz pvs2-de708185c77aa451682fa96fbca4dcc6c8091c44.zip |
[*] Use thumbnail on vnc viewer window until connection is up
Diffstat (limited to 'src/server/connectionframe/connectionframe.cpp')
-rw-r--r-- | src/server/connectionframe/connectionframe.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp index 39aba12..82e949a 100644 --- a/src/server/connectionframe/connectionframe.cpp +++ b/src/server/connectionframe/connectionframe.cpp @@ -144,7 +144,7 @@ void ConnectionFrame::assignClient(Client* client) { assert(_client == NULL); connect( client, SIGNAL(disconnected()), this, SLOT(onClientDisconnected()) ); - connect( client, SIGNAL(thumbUpdated(Client*, const QPixmap&)), this, SLOT(onThumbUpdated(Client*, const QPixmap&)) ); + connect( client, SIGNAL(thumbUpdated(Client*, const QPixmap&, const QByteArray&)), this, SLOT(onThumbUpdated(Client*, const QPixmap&, const QByteArray&)) ); connect( client, SIGNAL(vncServerStateChange(Client*)), this, SLOT(updateAppearance())); connect( client, SIGNAL(vncClientStateChange(Client*)), this, SLOT(updateAppearance())); connect( client, SIGNAL(stateChanged()), this, SLOT(updateAppearance())); @@ -383,10 +383,11 @@ void ConnectionFrame::onClientDisconnected() * @param client * @param thumb */ -void ConnectionFrame::onThumbUpdated(Client* client, const QPixmap& thumb) +void ConnectionFrame::onThumbUpdated(Client* client, const QPixmap& thumb, const QByteArray&) { assert(client == _client); _remoteScreen = thumb; //_imgScreen->setPixmap(_remoteScreen); this->repaint(); } + |