Quellcode durchsuchen

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

Linus Groh vor 4 Jahren
Ursprung
Commit
209bfbaaa4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)
 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);
     auto file_result = Core::File::open(path, Core::OpenMode::ReadOnly);
     VERIFY(!file_result.is_error());
     VERIFY(!file_result.is_error());
     m_buffer = file_result.value()->read_all();
     m_buffer = file_result.value()->read_all();