1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:47:34 +00:00

ClockWidget: Deduplicate logic for updating calendar buttons

This commit is contained in:
implicitfield 2023-06-20 19:34:25 +04:00 committed by Ali Mohammad Pur
parent 9a1018389c
commit 28b5438395
2 changed files with 13 additions and 12 deletions

View file

@ -45,6 +45,8 @@ private:
void position_calendar_window();
void jump_to_current_date();
void update_selected_calendar_button();
DeprecatedString m_time_format;
RefPtr<GUI::Window> m_calendar_window;
RefPtr<GUI::Calendar> m_calendar;