mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-30 14:11:54 +00:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
parent
e4e92980a1
commit
ff6ce422dd
Notes:
sideshowbarker
2024-07-19 12:01:44 +09:00
Author: https://github.com/awesomekling
Commit: ff6ce422dd
41 changed files with 115 additions and 107 deletions
|
@ -30,7 +30,7 @@ VBWidget::~VBWidget()
|
|||
{
|
||||
m_form.m_gwidget_map.remove(m_gwidget);
|
||||
m_form.m_selected_widgets.remove(this);
|
||||
delete m_gwidget;
|
||||
m_gwidget->parent()->remove_child(*m_gwidget);
|
||||
}
|
||||
|
||||
Rect VBWidget::rect() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue