From 464b13f3828e5cdd03438d0881c3a62c7cda6333 Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Mon, 20 Nov 2017 23:25:06 +0100 Subject: Modernize: Use override where possible Also use override instead of Q_DECL_OVERRIDE --- src/panels/panel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/panels/panel.h') diff --git a/src/panels/panel.h b/src/panels/panel.h index d3460bf13..f706c3b82 100644 --- a/src/panels/panel.h +++ b/src/panels/panel.h @@ -36,7 +36,7 @@ class Panel : public QWidget public: explicit Panel(QWidget* parent = 0); - virtual ~Panel(); + ~Panel() override; /** Returns the current set URL of the active Dolphin view. */ QUrl url() const; @@ -49,7 +49,7 @@ public: void setCustomContextMenuActions(const QList& actions); QList customContextMenuActions() const; - virtual QSize sizeHint() const Q_DECL_OVERRIDE; + QSize sizeHint() const override; public slots: /** -- cgit v1.3.1