Commit 0328d8db authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override in destructor

parent 6075a0bb
Pipeline #196391 passed with stage
in 4 minutes and 26 seconds
......@@ -23,7 +23,7 @@ class IncidenceOccurrenceModelTest : public QObject
public:
IncidenceOccurrenceModelTest() = default;
~IncidenceOccurrenceModelTest() = default;
~IncidenceOccurrenceModelTest() override = default;
void checkAllItems(KCheckableProxyModel *model, const QModelIndex &parent = QModelIndex())
{
......
......@@ -24,7 +24,7 @@ class TodoSortFilterProxyModelTest : public QObject
public:
TodoSortFilterProxyModelTest() = default;
~TodoSortFilterProxyModelTest() = default;
~TodoSortFilterProxyModelTest() override = default;
void checkAllItems(KCheckableProxyModel *model, const QModelIndex &parent = QModelIndex())
{
......
......@@ -29,7 +29,7 @@ class ContactManager : public QObject
Q_PROPERTY(QAbstractItemModel *filteredContacts READ filteredContacts CONSTANT)
public:
explicit ContactManager(QObject *parent = nullptr);
~ContactManager();
~ContactManager() override;
QAbstractItemModel *contactCollections() const;
QAbstractItemModel *filteredContacts() const;
......
......@@ -87,7 +87,7 @@ public:
Q_ENUM(ShowComplete)
explicit TodoSortFilterProxyModel(QObject *parent = nullptr);
~TodoSortFilterProxyModel();
~TodoSortFilterProxyModel() override;
int columnCount(const QModelIndex &parent) const override;
QHash<int, QByteArray> roleNames() const override;
......
......@@ -50,7 +50,7 @@ class CollectionComboBoxModel : public QSortFilterProxyModel
public:
explicit CollectionComboBoxModel(QObject *parent = nullptr);
~CollectionComboBoxModel();
~CollectionComboBoxModel() override;
/**
* Sets the content @p mimetypes the collections shall be filtered by.
......
......@@ -48,7 +48,7 @@ class CollectionPickerModel : public QSortFilterProxyModel
public:
explicit CollectionPickerModel(QObject *parent = nullptr);
~CollectionPickerModel();
~CollectionPickerModel() override;
/**
* Sets the content @p mimetypes the collections shall be filtered by.
......
Supports Markdown
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