Skip to content

Commit eb22a9a

Browse files
authored
COMP: Fix warnings about override on public destructors (#788)
1 parent d709230 commit eb22a9a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/AutoHideTab.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private Q_SLOTS:
9393
/**
9494
* Virtual Destructor
9595
*/
96-
virtual ~CAutoHideTab();
96+
~CAutoHideTab() override;
9797

9898
/**
9999
* Update stylesheet style if a property changes

src/DockAreaWidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected Q_SLOTS:
199199
/**
200200
* Virtual Destructor
201201
*/
202-
virtual ~CDockAreaWidget();
202+
~CDockAreaWidget() override;
203203

204204
/**
205205
* Returns the dock manager object this dock area belongs to

src/DockContainerWidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class ADS_EXPORT CDockContainerWidget : public QFrame
219219
/**
220220
* Virtual Destructor
221221
*/
222-
virtual ~CDockContainerWidget();
222+
~CDockContainerWidget() override;
223223

224224
/**
225225
* Adds dockwidget into the given area.

src/DockWidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ private Q_SLOTS:
289289
/**
290290
* Virtual Destructor
291291
*/
292-
virtual ~CDockWidget();
292+
~CDockWidget() override;
293293

294294
/**
295295
* We return a fixed minimum size hint or the size hint of the content

src/FloatingDockContainer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private Q_SLOTS:
220220
/**
221221
* Virtual Destructor
222222
*/
223-
virtual ~CFloatingDockContainer();
223+
~CFloatingDockContainer() override;
224224

225225
/**
226226
* Access function for the internal dock container

0 commit comments

Comments
 (0)