summaryrefslogtreecommitdiff
path: root/Userland/Applications/Help/ManualModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Help/ManualModel.cpp')
-rw-r--r--Userland/Applications/Help/ManualModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Help/ManualModel.cpp b/Userland/Applications/Help/ManualModel.cpp
index 8461788b56..2fd7324df6 100644
--- a/Userland/Applications/Help/ManualModel.cpp
+++ b/Userland/Applications/Help/ManualModel.cpp
@@ -31,7 +31,7 @@ ManualModel::ManualModel()
m_page_icon.set_bitmap_for_size(16, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/filetype-unknown.png").release_value_but_fixme_should_propagate_errors());
}
-Optional<GUI::ModelIndex> ManualModel::index_from_path(const StringView& path) const
+Optional<GUI::ModelIndex> ManualModel::index_from_path(StringView path) const
{
for (int section = 0; section < row_count(); ++section) {
auto parent_index = index(section, 0);