1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:57:35 +00:00

Calendar/AddEventDialog: Remove meridiem selection

This removes the meridiem selection in the AddEventDialog of the
calendar because it thus far didn't do anything.
This commit is contained in:
david072 2023-11-17 19:46:19 +01:00 committed by Andrew Kaster
parent 18b1f856e5
commit 60174cc9aa
3 changed files with 0 additions and 75 deletions

View file

@ -31,25 +31,6 @@ private:
ErrorOr<void> add_event_to_calendar();
class MeridiemListModel final : public GUI::Model {
public:
enum Column {
Meridiem,
__Count,
};
static NonnullRefPtr<MeridiemListModel> create() { return adopt_ref(*new MeridiemListModel); }
virtual ~MeridiemListModel() override = default;
virtual int row_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override;
virtual int column_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override { return Column::__Count; }
virtual ErrorOr<String> column_name(int) const override;
virtual GUI::Variant data(const GUI::ModelIndex&, GUI::ModelRole) const override;
private:
MeridiemListModel() = default;
};
Core::DateTime m_start_date_time;
Core::DateTime m_end_date_time;
EventManager& m_event_manager;