Commit d35c473e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent 7c56d645
Pipeline #53790 passed with stage
in 12 minutes and 12 seconds
......@@ -43,7 +43,7 @@ class AttachmentIconItem : public QListWidgetItem
{
public:
AttachmentIconItem(const KCalendarCore::Attachment &att, QListWidget *parent);
~AttachmentIconItem();
~AttachmentIconItem() override;
Q_REQUIRED_RESULT KCalendarCore::Attachment attachment() const;
Q_REQUIRED_RESULT const QString uri() const;
......
......@@ -31,7 +31,7 @@ public:
Q_REQUIRED_RESULT bool isDirty() const override;
private:
Ui::EventOrTodoDesktop *mUi = nullptr;
Ui::EventOrTodoDesktop *const mUi;
};
}
......
......@@ -39,7 +39,7 @@ public:
virtual void validate();
private:
Ui::EventOrTodoDesktop *mUi = nullptr;
Ui::EventOrTodoDesktop *const mUi;
};
} // IncidenceEditorNG
......
......@@ -38,7 +38,7 @@ class INCIDENCEEDITOR_EXPORT ResourceManagement : public QDialog
Q_OBJECT
public:
explicit ResourceManagement(QWidget *parent = nullptr);
~ResourceManagement();
~ResourceManagement() override;
Q_REQUIRED_RESULT ResourceItem::Ptr selectedItem() const;
......
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