Bläddra i källkod

PDFViewer: Show app name as "PDF Viewer" when a file is loaded

Linus Groh 4 år sedan
förälder
incheckning
209bfbaaa4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Userland/Applications/PDFViewer/PDFViewerWidget.cpp

+ 1 - 1
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();