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

LibGUI: Convert remaining random little things to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 19:39:37 +02:00
parent 81a5c4fc56
commit 409494193e
11 changed files with 15 additions and 13 deletions

View file

@ -189,7 +189,7 @@ void IRCAppWindow::setup_widgets()
set_active_window(m_client.window_at(index.row()));
};
m_container = new GStackWidget(horizontal_container);
m_container = GStackWidget::construct(horizontal_container);
m_container->on_active_widget_change = [this](auto*) {
update_part_action();
};