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

Calendar: Fix using OwnPtr<> with RefCounted types

This commit is contained in:
Sergey Bugaev 2020-06-12 16:26:12 +03:00 committed by Andreas Kling
parent 5624f8d8ee
commit eb3700c565
3 changed files with 8 additions and 9 deletions

View file

@ -45,7 +45,7 @@ private:
void update_calendar_tiles(int target_year, int target_month);
OwnPtr<Calendar> m_calendar;
RefPtr<Calendar> m_calendar;
RefPtr<GUI::Widget> m_top_container;
RefPtr<GUI::Widget> m_bottom_container;
RefPtr<GUI::Label> m_selected_date_label;
@ -70,7 +70,7 @@ private:
String m_weekday_name;
String m_display_date;
Core::DateTime m_date_time;
Calendar& m_calendar;
RefPtr<Calendar> m_calendar;
};
RefPtr<CalendarTile> m_calendar_tiles[35];