1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:55:08 +00:00

LibGUI: Convert GWindow to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 18:34:06 +02:00
parent 70412c7d4f
commit 7584480f62
25 changed files with 37 additions and 37 deletions

View file

@ -28,7 +28,7 @@ GComboBox::GComboBox(GWidget* parent)
open();
};
m_list_window = new GWindow(this);
m_list_window = GWindow::construct(this);
// FIXME: This is obviously not a tooltip window, but it's the closest thing to what we want atm.
m_list_window->set_window_type(GWindowType::Tooltip);
m_list_window->set_should_destroy_on_close(false);