1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibGUI: Fix const-correctness issues

This commit is contained in:
Andreas Kling 2023-02-20 19:03:44 +01:00
parent bfe081caad
commit faa1a09042
44 changed files with 180 additions and 183 deletions

View file

@ -19,7 +19,7 @@ class FontPicker final : public GUI::Dialog {
public:
virtual ~FontPicker() override = default;
RefPtr<Gfx::Font> font() const { return m_font; }
RefPtr<Gfx::Font const> font() const { return m_font; }
void set_font(Gfx::Font const*);
private:
@ -29,7 +29,7 @@ private:
bool const m_fixed_width_only;
RefPtr<Gfx::Font> m_font;
RefPtr<Gfx::Font const> m_font;
RefPtr<ListView> m_family_list_view;
RefPtr<ListView> m_variant_list_view;