mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 21:00:06 +00:00
LibGUI: Fix const-correctness issues
This commit is contained in:
@@ -221,7 +221,7 @@ void AbstractView::notify_selection_changed(Badge<ModelSelection>)
|
||||
update();
|
||||
}
|
||||
|
||||
NonnullRefPtr<Gfx::Font> AbstractView::font_for_index(ModelIndex const& index) const
|
||||
NonnullRefPtr<Gfx::Font const> AbstractView::font_for_index(ModelIndex const& index) const
|
||||
{
|
||||
if (!model())
|
||||
return font();
|
||||
|
||||
Reference in New Issue
Block a user