mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:35:09 +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
|
@ -25,7 +25,7 @@ int main(int argc, char** argv)
|
|||
else
|
||||
edited_font = Font::default_font().clone();
|
||||
|
||||
auto* window = new GWindow;
|
||||
auto window = GWindow::construct();
|
||||
window->set_title("Font Editor");
|
||||
window->set_rect({ 50, 50, 390, 342 });
|
||||
auto* font_editor = new FontEditorWidget(path, move(edited_font));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue