Gui: fix some important linting warnings:

* cppcoreguidelines-explicit-virtual-functions
* google-explicit-constructor
This commit is contained in:
wmayer
2023-10-12 10:53:41 +02:00
committed by wwmayer
parent e37e924b85
commit 552b1f48b1
7 changed files with 54 additions and 55 deletions

View File

@@ -41,7 +41,7 @@ class GuiExport OverlayManager : public QObject {
Q_OBJECT
public:
OverlayManager();
virtual ~OverlayManager();
~OverlayManager() override;
/// restore states
void restore();
@@ -164,7 +164,7 @@ public:
class Private;
protected:
bool eventFilter(QObject *, QEvent *ev);
bool eventFilter(QObject* obj, QEvent* ev) override;
/// Register a named docked widget with an overlay tab widget
void registerDockWidget(const QString &name, OverlayTabWidget *);