diff options
author | Simon Rettberg | 2018-07-17 17:33:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-07-17 17:33:19 +0200 |
commit | 74d42e667d4094844929c49c0670c752ebc57cc3 (patch) | |
tree | 2e1238affb20a1ee96ab6b0738069e13ec73162b /src/client/vnc/vncwindow.h | |
parent | [client] Fix uninitialized variable access (diff) | |
download | pvs2-74d42e667d4094844929c49c0670c752ebc57cc3.tar.gz pvs2-74d42e667d4094844929c49c0670c752ebc57cc3.tar.xz pvs2-74d42e667d4094844929c49c0670c752ebc57cc3.zip |
[client] Rewrite thread sync between VNC worker and VNC window
Diffstat (limited to 'src/client/vnc/vncwindow.h')
-rw-r--r-- | src/client/vnc/vncwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/vnc/vncwindow.h b/src/client/vnc/vncwindow.h index df37513..cdcf51f 100644 --- a/src/client/vnc/vncwindow.h +++ b/src/client/vnc/vncwindow.h @@ -15,6 +15,8 @@ #define CLIENTVNCVIEWER_H_ #include <QtWidgets> +#include <QSharedPointer> +#include <QImage> class VncThread; class QPainter; @@ -55,6 +57,7 @@ private: int _redrawTimer; int _tcpTimeoutTimer; QPixmap _remoteThumb; + QSharedPointer<QImage> _image; void draw(const int x, const int y, const int w, const int h); void terminateVncThread(); |