diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 19:39:37 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 19:40:14 +0200 |
commit | 409494193eac267bc309472c52af140ca3cb374e (patch) | |
tree | 8ad35db8ac21ae0895fdd9050b3bd08ae00a6cbc /Applications/FontEditor/FontEditor.cpp | |
parent | 81a5c4fc560a5c4d2e5d96438bd9e04817c9155b (diff) | |
download | serenity-409494193eac267bc309472c52af140ca3cb374e.zip |
LibGUI: Convert remaining random little things to ObjectPtr
Diffstat (limited to 'Applications/FontEditor/FontEditor.cpp')
-rw-r--r-- | Applications/FontEditor/FontEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp index 0e22471127..09f7de7e4d 100644 --- a/Applications/FontEditor/FontEditor.cpp +++ b/Applications/FontEditor/FontEditor.cpp @@ -23,10 +23,10 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Font>&& edited_fon else m_path = path; - m_glyph_map_widget = new GlyphMapWidget(*m_edited_font, this); + m_glyph_map_widget = GlyphMapWidget::construct(*m_edited_font, this); m_glyph_map_widget->move_to({ 90, 5 }); - m_glyph_editor_widget = new GlyphEditorWidget(*m_edited_font, this); + m_glyph_editor_widget = GlyphEditorWidget::construct(*m_edited_font, this); m_glyph_editor_widget->move_to({ 5, 5 }); m_ui = make<UI_FontEditorBottom>(); |