From ced351295b67f0c8ef72802a11d2a0f2381b46e8 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Tue, 20 Feb 2018 14:00:19 +0100 Subject: Use override when applicable Applied automatic fixes using clang-tidy's modernize-use-override. This adds the "override" keyword where it's possible and also removes the "virtual" keyword when redundant. Change-Id: I899950e5cf8782785d30a245a9c69c1720905d50 Reviewed-by: Paul Olav Tvete --- src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h') diff --git a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h index 6cab1c98f..ff943060b 100644 --- a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h +++ b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h @@ -60,13 +60,13 @@ public: QWaylandIviSurface(struct ::ivi_surface *shell_surface, QWaylandWindow *window); QWaylandIviSurface(struct ::ivi_surface *shell_surface, QWaylandWindow *window, struct ::ivi_controller_surface *iviControllerSurface); - virtual ~QWaylandIviSurface(); + ~QWaylandIviSurface() override; void setType(Qt::WindowType type, QWaylandWindow *transientParent) override; private: void createExtendedSurface(QWaylandWindow *window); - virtual void ivi_surface_configure(int32_t width, int32_t height) override; + void ivi_surface_configure(int32_t width, int32_t height) override; void ivi_controller_surface_visibility(int32_t visibility) override; QWaylandWindow *m_window = nullptr; -- cgit v1.2.3