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:
parent
70412c7d4f
commit
7584480f62
25 changed files with 37 additions and 37 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue