Explorar o código

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

Linus Groh %!s(int64=4) %!d(string=hai) anos
pai
achega
209bfbaaa4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();