diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-01-09 12:50:36 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-16 21:36:39 +0100 |
commit | 2e849250eb799e99e50369a57eff4b0249e29b37 (patch) | |
tree | 08373d93cdba4643bbe325e057c683abe590d71a /Userland/Applications/FontEditor/GlyphEditorWidget.cpp | |
parent | ff42ad88eec53adac4da16866dff2306677d5be7 (diff) | |
download | serenity-2e849250eb799e99e50369a57eff4b0249e29b37.zip |
FontEditor: Remove unnecessary call during GlyphEditor init
GlyphEditor's relative rect is automatically set during layout.
Diffstat (limited to 'Userland/Applications/FontEditor/GlyphEditorWidget.cpp')
-rw-r--r-- | Userland/Applications/FontEditor/GlyphEditorWidget.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp index a4c9d68da1..3c1fe4315e 100644 --- a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp +++ b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp @@ -22,7 +22,6 @@ void GlyphEditorWidget::initialize(Gfx::BitmapFont& mutable_font) if (m_font == mutable_font) return; m_font = mutable_font; - set_relative_rect({ 0, 0, preferred_width(), preferred_height() }); } void GlyphEditorWidget::set_glyph(int glyph) |