Forráskód Böngészése

Clock.MenuApplet: Add window title.

= 5 éve
szülő
commit
afb37b66cc
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      MenuApplets/Clock/main.cpp

+ 2 - 1
MenuApplets/Clock/main.cpp

@@ -25,11 +25,11 @@
  */
  */
 
 
 #include <LibCore/Timer.h>
 #include <LibCore/Timer.h>
-#include <LibGfx/Palette.h>
 #include <LibGUI/Application.h>
 #include <LibGUI/Application.h>
 #include <LibGUI/Painter.h>
 #include <LibGUI/Painter.h>
 #include <LibGUI/Widget.h>
 #include <LibGUI/Widget.h>
 #include <LibGUI/Window.h>
 #include <LibGUI/Window.h>
+#include <LibGfx/Palette.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <time.h>
 #include <time.h>
 
 
@@ -103,6 +103,7 @@ int main(int argc, char** argv)
     }
     }
 
 
     auto window = GUI::Window::construct();
     auto window = GUI::Window::construct();
+    window->set_title("Clock");
     window->set_window_type(GUI::WindowType::MenuApplet);
     window->set_window_type(GUI::WindowType::MenuApplet);
 
 
     auto widget = ClockWidget::construct();
     auto widget = ClockWidget::construct();