mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Calendar: Promote view_type ActionGroup to CalendarWidget's member
Otherwise, it would get destroyed after exiting the create() function.
This commit is contained in:
parent
bb23ee3521
commit
340230f6bf
2 changed files with 7 additions and 4 deletions
|
@ -42,6 +42,8 @@ private:
|
|||
ErrorOr<NonnullRefPtr<GUI::Action>> create_view_year_action();
|
||||
ErrorOr<NonnullRefPtr<GUI::Action>> create_open_settings_action();
|
||||
|
||||
OwnPtr<GUI::ActionGroup> m_view_type_action_group;
|
||||
|
||||
RefPtr<EventCalendar> m_event_calendar;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue