diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-01-06 13:28:53 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-01-06 12:59:01 +0000 |
commit | 6a811454141d7c6e4b962514137350348f16085f (patch) | |
tree | 564865729c2e7fc26a5fa1771fa425d40a068540 /src/plugins/platforms/vnc | |
parent | 45ff1cf60a645abca054d4375398281e1240b151 (diff) |
vnc: Add missing override
... to fix build with clang.
Change-Id: I1ddc1ed3c17f9c0b4ad0d983a28fe821a813e444
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/vnc')
-rw-r--r-- | src/plugins/platforms/vnc/qvnc_p.h | 6 | ||||
-rw-r--r-- | src/plugins/platforms/vnc/qvncscreen.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/vnc/qvnc_p.h b/src/plugins/platforms/vnc/qvnc_p.h index 1c44cd1569..e58b6ae056 100644 --- a/src/plugins/platforms/vnc/qvnc_p.h +++ b/src/plugins/platforms/vnc/qvnc_p.h @@ -95,7 +95,7 @@ public: QVncDirtyMapOptimized(QVncScreen *screen) : QVncDirtyMap(screen) {} ~QVncDirtyMapOptimized() {} - void setDirty(int x, int y, bool force = false); + void setDirty(int x, int y, bool force = false) override; }; @@ -216,7 +216,7 @@ class QRfbRawEncoder : public QRfbEncoder public: QRfbRawEncoder(QVncClient *s) : QRfbEncoder(s) {} - void write(); + void write() override; private: QByteArray buffer; @@ -372,7 +372,7 @@ public: void write(QVncClient *client) const; - void changeCursor(QCursor *widgetCursor, QWindow *window); + void changeCursor(QCursor *widgetCursor, QWindow *window) override; void addClient(QVncClient *client); uint removeClient(QVncClient *client); diff --git a/src/plugins/platforms/vnc/qvncscreen.h b/src/plugins/platforms/vnc/qvncscreen.h index 4b7171b5a9..81c7da2e1e 100644 --- a/src/plugins/platforms/vnc/qvncscreen.h +++ b/src/plugins/platforms/vnc/qvncscreen.h @@ -59,7 +59,7 @@ public: QVncScreen(const QStringList &args); ~QVncScreen(); - bool initialize(); + bool initialize() override; QPixmap grabWindow(WId wid, int x, int y, int width, int height) const Q_DECL_OVERRIDE; |