diff options
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qplatformoffscreensurface.h | 4 | ||||
-rw-r--r-- | src/gui/kernel/qplatformwindow.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qplatformoffscreensurface.h b/src/gui/kernel/qplatformoffscreensurface.h index 7f2e0d475b..be15a98e28 100644 --- a/src/gui/kernel/qplatformoffscreensurface.h +++ b/src/gui/kernel/qplatformoffscreensurface.h @@ -64,13 +64,13 @@ class Q_GUI_EXPORT QPlatformOffscreenSurface : public QPlatformSurface Q_DECLARE_PRIVATE(QPlatformOffscreenSurface) public: explicit QPlatformOffscreenSurface(QOffscreenSurface *offscreenSurface); - virtual ~QPlatformOffscreenSurface(); + ~QPlatformOffscreenSurface() override; QOffscreenSurface *offscreenSurface() const; QPlatformScreen *screen() const; - virtual QSurfaceFormat format() const Q_DECL_OVERRIDE; + virtual QSurfaceFormat format() const override; virtual bool isValid() const; protected: diff --git a/src/gui/kernel/qplatformwindow.h b/src/gui/kernel/qplatformwindow.h index 95d8af760c..dff8f618e2 100644 --- a/src/gui/kernel/qplatformwindow.h +++ b/src/gui/kernel/qplatformwindow.h @@ -72,7 +72,7 @@ class Q_GUI_EXPORT QPlatformWindow : public QPlatformSurface Q_DECLARE_PRIVATE(QPlatformWindow) public: explicit QPlatformWindow(QWindow *window); - virtual ~QPlatformWindow(); + ~QPlatformWindow() override; virtual void initialize(); @@ -81,7 +81,7 @@ public: QPlatformScreen *screen() const; - virtual QSurfaceFormat format() const Q_DECL_OVERRIDE; + virtual QSurfaceFormat format() const override; virtual void setGeometry(const QRect &rect); virtual QRect geometry() const; |