summaryrefslogtreecommitdiffstats
path: root/src/client/vnc/vncthread.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-01 10:42:40 +0100
committerSimon Rettberg2016-02-01 10:42:40 +0100
commitd662e959d07fd690c7cf0d7ed1d81f689f96b017 (patch)
treefdc71cfa5eb48225639a9cf3c8c047b834ecd8cb /src/client/vnc/vncthread.h
parentproperly close the toolbar (?) (diff)
downloadpvs2-d662e959d07fd690c7cf0d7ed1d81f689f96b017.tar.gz
pvs2-d662e959d07fd690c7cf0d7ed1d81f689f96b017.tar.xz
pvs2-d662e959d07fd690c7cf0d7ed1d81f689f96b017.zip
[client] Retry VNC connection up to 5 times
Diffstat (limited to 'src/client/vnc/vncthread.h')
-rw-r--r--src/client/vnc/vncthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/vnc/vncthread.h b/src/client/vnc/vncthread.h
index 2e94c2d..bb1405c 100644
--- a/src/client/vnc/vncthread.h
+++ b/src/client/vnc/vncthread.h
@@ -61,6 +61,7 @@ private:
volatile bool _run;
void calcScaling();
+ void processImageUpdate(const int x, const int y, const int w, const int h);
// Callbacks for rfb lib. make them class members so the callbacks can access private members of the class.
@@ -75,7 +76,6 @@ public:
const QImage& getImage() const { if (_srcStepX > 1 || _srcStepY > 1) return _imgScaled; return _img; }
const QSize& getSourceSize() const { return _clientSize; }
const QString getDesktopName() const;
- void processImageUpdate(const int x, const int y, const int w, const int h);
const bool isConnected() const { return _connected; }
void stop() { _run = false; }
void setTargetSize(const QSize size);