From 209bfbaaa49b8bcaac52d179c381cff9400d6be7 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 27 May 2021 18:08:49 +0100 Subject: [PATCH] PDFViewer: Show app name as "PDF Viewer" when a file is loaded --- Userland/Applications/PDFViewer/PDFViewerWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp index 16ce92e071..0cc705a43a 100644 --- a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp +++ b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp @@ -93,7 +93,7 @@ void PDFViewerWidget::create_toolbar() void PDFViewerWidget::open_file(const String& path) { - window()->set_title(String::formatted("{} - PDFViewer", path)); + window()->set_title(String::formatted("{} - PDF Viewer", path)); auto file_result = Core::File::open(path, Core::OpenMode::ReadOnly); VERIFY(!file_result.is_error()); m_buffer = file_result.value()->read_all();