vnc: Add missing override

... to fix build with clang.

Change-Id: I1ddc1ed3c17f9c0b4ad0d983a28fe821a813e444
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Alexander Volkov 2017-01-06 13:28:53 +03:00
parent 45ff1cf60a
commit 6a81145414
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;