summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/ExportDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/ExportDialog.cpp')
-rw-r--r--Userland/Applications/Spreadsheet/ExportDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/ExportDialog.cpp b/Userland/Applications/Spreadsheet/ExportDialog.cpp
index c648e8c4ed..dd1f251d05 100644
--- a/Userland/Applications/Spreadsheet/ExportDialog.cpp
+++ b/Userland/Applications/Spreadsheet/ExportDialog.cpp
@@ -300,7 +300,7 @@ Result<void, String> ExportDialog::make_and_run_for(StringView mime, Core::File&
} else {
auto page = GUI::WizardPage::construct(
"Export File Format",
- String::formatted("Select the format you wish to export to '{}' as", LexicalPath { file.filename() }.basename()));
+ String::formatted("Select the format you wish to export to '{}' as", LexicalPath::basename(file.filename())));
page->on_next_page = [] { return nullptr; };