Use std::shared_ptr for UI::Panel children

Bug #1792079 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Medium
Unassigned

Bug Description

Since the Dropdown class need to hook into a higher parent, it is unclear who will destroy its list. The solution I'm seeing for this is to change the UI::Panel implementation to use shared_ptr.

However, this will be a massive change that will have to be made in one go, so we will need to make sure that there are no UI-related branches still open before we star work on this.

Tags: ui
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.