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/client/net | |
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/client/net')
-rw-r--r-- | src/client/net/serverconnection.cpp | 2 | ||||
-rw-r--r-- | src/client/net/serverconnection.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/net/serverconnection.cpp b/src/client/net/serverconnection.cpp index 807b6a0..c6ffd8c 100644 --- a/src/client/net/serverconnection.cpp +++ b/src/client/net/serverconnection.cpp @@ -256,7 +256,7 @@ void ServerConnection::handleMsg() } else { - emit openVnc(host, port, _fromServer.getFieldString("ROPASS"), true, true, _fromServer.getFieldString("CAPTION"), _fromServer.getFieldString("CLIENTID").toInt()); + emit openVnc(host, port, _fromServer.getFieldString("ROPASS"), true, true, _fromServer.getFieldString("CAPTION"), _fromServer.getFieldString("CLIENTID").toInt(), _fromServer.getFieldBytes(_THUMB)); } } else if (id == _LOCK) diff --git a/src/client/net/serverconnection.h b/src/client/net/serverconnection.h index 6d53c52..5e2631f 100644 --- a/src/client/net/serverconnection.h +++ b/src/client/net/serverconnection.h @@ -59,7 +59,7 @@ private slots: void onVncViewerStartStop(const bool started, const int clientId); signals: - void openVnc(const QString& host, int port, const QString& passwd, bool ro, bool fullscreen, const QString& caption, const int clientId); + void openVnc(const QString& host, int port, const QString& passwd, bool ro, bool fullscreen, const QString& caption, const int clientId, const QByteArray& rawThumb); void closeVnc(); void stateChange(ConnectWindow::ConnectionState state); void disconnected(); |