summaryrefslogtreecommitdiff
path: root/Applications/FontEditor
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 18:34:06 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 18:34:06 +0200
commit7584480f628c878e107bf66770e988bedb8cd6c5 (patch)
tree29e922c758183698ccf7f7653f6a1174ac53a95b /Applications/FontEditor
parent70412c7d4f5f6f55bfb0cf9409463b19f27c632a (diff)
downloadserenity-7584480f628c878e107bf66770e988bedb8cd6c5.zip
LibGUI: Convert GWindow to ObjectPtr
Diffstat (limited to 'Applications/FontEditor')
-rw-r--r--Applications/FontEditor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FontEditor/main.cpp b/Applications/FontEditor/main.cpp
index 93f74eee70..d8799c4279 100644
--- a/Applications/FontEditor/main.cpp
+++ b/Applications/FontEditor/main.cpp
@@ -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));