Commit beb119b1 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing override

parent 7e170221
......@@ -54,11 +54,10 @@ class CALENDARSUPPORT_EXPORT CategoryHierarchyReaderQComboBox : public CategoryH
{
public:
explicit CategoryHierarchyReaderQComboBox(KComboBox *box) : mBox(box)
, mCurrentDepth(0)
{
}
virtual ~CategoryHierarchyReaderQComboBox()
~CategoryHierarchyReaderQComboBox() override
{
}
......@@ -70,7 +69,7 @@ protected:
private:
KComboBox *mBox = nullptr;
int mCurrentDepth;
int mCurrentDepth = 0;
};
#ifndef QT_NO_TREEWIDGET
......@@ -84,7 +83,7 @@ public:
{
}
virtual ~CategoryHierarchyReaderQTreeWidget()
~CategoryHierarchyReaderQTreeWidget() override
{
}
......
......@@ -57,7 +57,7 @@ public:
explicit IncidenceAttachmentModel(QObject *parent = nullptr);
~IncidenceAttachmentModel();
~IncidenceAttachmentModel() override;
KCalCore::Incidence::Ptr incidence() const;
......
......@@ -39,7 +39,7 @@ class CALENDARSUPPORT_EXPORT MessageWidget : public KMessageWidget
Q_OBJECT
public:
explicit MessageWidget(QWidget *parent = nullptr);
~MessageWidget();
~MessageWidget() override;
bool eventFilter(QObject *watched, QEvent *event) override;
void showEvent(QShowEvent *event) override;
void hideEvent(QHideEvent *event) override;
......
......@@ -83,7 +83,7 @@ public:
/**
* Destroys the incidence viewer.
*/
~IncidenceViewer();
~IncidenceViewer() override;
/**
* Sets the Calendar for this viewer.
......
......@@ -35,7 +35,7 @@ public:
{
}
~CalPrintJournal()
~CalPrintJournal() override
{
}
......
......@@ -34,7 +34,7 @@ public:
{
}
~CalPrintYear()
~CalPrintYear() override
{
}
......
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