mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 11:35:07 +00:00
Update Badge<T> instantiations to simply be {}.
This commit is contained in:
parent
fa6446fc0d
commit
fdf3608c8a
11 changed files with 23 additions and 23 deletions
|
@ -131,10 +131,10 @@ void GWidget::handle_paint_event(GPaintEvent& event)
|
|||
void GWidget::set_layout(OwnPtr<GLayout>&& layout)
|
||||
{
|
||||
if (m_layout)
|
||||
m_layout->notify_disowned(Badge<GWidget>(), *this);
|
||||
m_layout->notify_disowned({}, *this);
|
||||
m_layout = move(layout);
|
||||
if (m_layout) {
|
||||
m_layout->notify_adopted(Badge<GWidget>(), *this);
|
||||
m_layout->notify_adopted({}, *this);
|
||||
do_layout();
|
||||
} else {
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue