summaryrefslogtreecommitdiff
path: root/Userland/Applications/TextEditor/MainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/TextEditor/MainWidget.cpp')
-rw-r--r--Userland/Applications/TextEditor/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/TextEditor/MainWidget.cpp b/Userland/Applications/TextEditor/MainWidget.cpp
index 53209f915e..25637d4d39 100644
--- a/Userland/Applications/TextEditor/MainWidget.cpp
+++ b/Userland/Applications/TextEditor/MainWidget.cpp
@@ -619,7 +619,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
help_menu.add_action(GUI::CommonActions::make_about_action("Text Editor", GUI::Icon::default_icon("app-text-editor"), &window));
}
-void MainWidget::set_path(StringView const& path)
+void MainWidget::set_path(StringView path)
{
if (path.is_empty()) {
m_path = {};