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:
parent
45ff1cf60a
commit
6a81145414
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user