path: root/src/gui/kernel/qwindow.h
diff options
authorAlessandro Portale <>2018-08-07 17:07:05 +0200
committerAlessandro Portale <>2018-09-25 14:34:42 +0000
commit8d26f701456332427d0d42e342458bc4249aad4f (patch)
tree9c8e1764fdf973b3319b0dd8ebad263d54122d06 /src/gui/kernel/qwindow.h
parent264ad32827f3e65bd2730f6e4e6a22d41209b5b9 (diff)
Remove excess "virtual" keyword from destructors in Qt Gui
Destructors whose base class have a virtual destructor are automatically virtual and do not need to be marked as such. Change-Id: I84c73ab965077bbb03f4213e53c241569213cae0 Reviewed-by: Tor Arne Vestbø <> Reviewed-by: Konstantin Ritt <> Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 439e62d0bd..36d8e7ad0f 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -143,7 +143,7 @@ public:
explicit QWindow(QScreen *screen = nullptr);
explicit QWindow(QWindow *parent);
- virtual ~QWindow();
+ ~QWindow();
void setSurfaceType(SurfaceType surfaceType);
SurfaceType surfaceType() const override;