diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-27 18:08:49 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-27 18:08:49 +0100 |
commit | 209bfbaaa49b8bcaac52d179c381cff9400d6be7 (patch) | |
tree | 088f0dcc581db09cd6cacda1513dd1ae61f432e1 /Userland/Applications/PDFViewer | |
parent | f930837ed787c3779ce5c073ed9b305c6e7d9c82 (diff) | |
download | serenity-209bfbaaa49b8bcaac52d179c381cff9400d6be7.zip |
PDFViewer: Show app name as "PDF Viewer" when a file is loaded
Diffstat (limited to 'Userland/Applications/PDFViewer')
-rw-r--r-- | Userland/Applications/PDFViewer/PDFViewerWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |