summaryrefslogtreecommitdiff
path: root/Widgets/ClockWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-12 14:15:14 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-12 14:16:40 +0200
commit16576112b0004a912f73f216488ebfda50ed1efe (patch)
tree0a2da73508c4c137609abaeb8508fd54f8b71c0a /Widgets/ClockWidget.cpp
parentc7463aad1159488fc6b9f7134dd88d0bf0b87b27 (diff)
downloadserenity-16576112b0004a912f73f216488ebfda50ed1efe.zip
Add a CheckBox widget.
Diffstat (limited to 'Widgets/ClockWidget.cpp')
-rw-r--r--Widgets/ClockWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Widgets/ClockWidget.cpp b/Widgets/ClockWidget.cpp
index a4778e2ca2..a0e2aadcaa 100644
--- a/Widgets/ClockWidget.cpp
+++ b/Widgets/ClockWidget.cpp
@@ -5,7 +5,7 @@
ClockWidget::ClockWidget(Widget* parent)
: Widget(parent)
{
- setRect({ 0, 0, 100, 40 });
+ setWindowRelativeRect({ 0, 0, 100, 40 });
startTimer(250);
}