summaryrefslogtreecommitdiff
path: root/MenuApplets/Clock
diff options
context:
space:
mode:
author= <asliturk@hotmail.com>2020-02-09 15:13:58 +0300
committerAndreas Kling <kling@serenityos.org>2020-02-10 18:33:28 +0100
commitafb37b66cc3f42849e80e4e0d68e7da1cb9cca09 (patch)
tree1979695eb2733d0f2081f52c26efdc9a5ea4ece9 /MenuApplets/Clock
parentfcee5075e9e92d5908ef5d1f6b5816772425e8f8 (diff)
downloadserenity-afb37b66cc3f42849e80e4e0d68e7da1cb9cca09.zip
Clock.MenuApplet: Add window title.
Diffstat (limited to 'MenuApplets/Clock')
-rw-r--r--MenuApplets/Clock/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/MenuApplets/Clock/main.cpp b/MenuApplets/Clock/main.cpp
index b9d74f934d..d7a1c24f0b 100644
--- a/MenuApplets/Clock/main.cpp
+++ b/MenuApplets/Clock/main.cpp
@@ -25,11 +25,11 @@
*/
#include <LibCore/Timer.h>
-#include <LibGfx/Palette.h>
#include <LibGUI/Application.h>
#include <LibGUI/Painter.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
+#include <LibGfx/Palette.h>
#include <stdio.h>
#include <time.h>
@@ -103,6 +103,7 @@ int main(int argc, char** argv)
}
auto window = GUI::Window::construct();
+ window->set_title("Clock");
window->set_window_type(GUI::WindowType::MenuApplet);
auto widget = ClockWidget::construct();