mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
PDFViewer+Base: Display application title as "PDF Viewer"
This matches other applications in the system. :^)
This commit is contained in:
parent
eb9a0ace28
commit
df29d58e19
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
[App]
|
[App]
|
||||||
Name=PDFViewer
|
Name=PDF Viewer
|
||||||
Executable=/bin/PDFViewer
|
Executable=/bin/PDFViewer
|
||||||
Category=Graphics
|
Category=Graphics
|
||||||
|
|
|
@ -16,7 +16,7 @@ int main(int argc, char** argv)
|
||||||
auto app_icon = GUI::Icon::default_icon("app-pdf-viewer");
|
auto app_icon = GUI::Icon::default_icon("app-pdf-viewer");
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
window->set_title("PDFViewer");
|
window->set_title("PDF Viewer");
|
||||||
window->resize(640, 400);
|
window->resize(640, 400);
|
||||||
|
|
||||||
auto& pdf_viewer_widget = window->set_main_widget<PDFViewerWidget>();
|
auto& pdf_viewer_widget = window->set_main_widget<PDFViewerWidget>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue