summaryrefslogtreecommitdiff
path: root/Demos
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 18:13:17 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 18:13:17 +0200
commitf4b51a63ec085db62ea2c122ee6ba93eeef62594 (patch)
tree8e71f811b463556b1216e8aed71f20092db3d81c /Demos
parent9e00651e1440263ff78aa29474229e5c18f06053 (diff)
downloadserenity-f4b51a63ec085db62ea2c122ee6ba93eeef62594.zip
LibCore: Remove CTimer::create() overloads in favor of construct()
Diffstat (limited to 'Demos')
-rwxr-xr-xDemos/WidgetGallery/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp
index fcbbf00ed2..788acf440e 100755
--- a/Demos/WidgetGallery/main.cpp
+++ b/Demos/WidgetGallery/main.cpp
@@ -44,7 +44,7 @@ int main(int argc, char** argv)
button2->set_enabled(false);
auto progress1 = GProgressBar::construct(main_widget);
- auto timer = CTimer::create(100, [&] {
+ auto timer = CTimer::construct(100, [&] {
progress1->set_value(progress1->value() + 1);
if (progress1->value() == progress1->max())
progress1->set_value(progress1->min());