Commit 2215d14d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 1266e4e5
Pipeline #43281 skipped
......@@ -205,7 +205,7 @@ class FakeItem : public MessageItem
public:
explicit FakeItem();
~FakeItem();
~FakeItem() override;
/// Reimplemented to return the fake tag list
QList< Tag * > tagList() const override;
......
......@@ -781,7 +781,7 @@ public:
/**
* Destroys this theme object.
*/
~Theme();
~Theme() override;
static bool compareName(Theme *theme1, Theme *theme2)
{
......
......@@ -57,7 +57,7 @@ class ThemePreviewDelegate : public Core::ThemeDelegate
Q_OBJECT
public:
explicit ThemePreviewDelegate(QAbstractItemView *parent);
~ThemePreviewDelegate();
~ThemePreviewDelegate() override;
private:
Core::GroupHeaderItem *mSampleGroupHeaderItem = nullptr;
......@@ -72,7 +72,7 @@ class ThemePreviewWidget : public QTreeWidget
Q_OBJECT
public:
explicit ThemePreviewWidget(QWidget *parent);
~ThemePreviewWidget();
~ThemePreviewWidget() override;
void setReadOnly(bool readOnly);
private:
......@@ -161,7 +161,7 @@ class ThemeContentItemSourceLabel : public QLabel
Q_OBJECT
public:
ThemeContentItemSourceLabel(QWidget *parent, Core::Theme::ContentItem::Type type);
~ThemeContentItemSourceLabel();
~ThemeContentItemSourceLabel() override;
public:
Core::Theme::ContentItem::Type type() const;
......@@ -181,7 +181,7 @@ class ThemeEditor : public OptionSetEditor
Q_OBJECT
public:
explicit ThemeEditor(QWidget *parent);
~ThemeEditor();
~ThemeEditor() override;
public:
/**
......
......@@ -15,7 +15,7 @@ class MESSAGEVIEWER_TESTS_EXPORT DKIMResultAttribute : public Akonadi::Attribute
{
public:
DKIMResultAttribute();
~DKIMResultAttribute();
~DKIMResultAttribute() override;
Q_REQUIRED_RESULT DKIMResultAttribute *clone() const override;
Q_REQUIRED_RESULT QByteArray type() const override;
Q_REQUIRED_RESULT QByteArray serialized() const override;
......
......@@ -15,7 +15,7 @@ class CidSchemeHandler : public QWebEngineUrlSchemeHandler
Q_OBJECT
public:
explicit CidSchemeHandler(QObject *parent = nullptr);
~CidSchemeHandler();
~CidSchemeHandler() override;
void requestStarted(QWebEngineUrlRequestJob *job) override;
};
......
......@@ -39,7 +39,7 @@ class CidUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
public:
explicit CidUrlRequestInterceptor(QObject *p = nullptr);
void interceptRequest(QWebEngineUrlRequestInfo &info) override;
~CidUrlRequestInterceptor();
~CidUrlRequestInterceptor() override;
};
CidUrlRequestInterceptor::CidUrlRequestInterceptor(QObject *p)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment