From f4b51a63ec085db62ea2c122ee6ba93eeef62594 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 21 Sep 2019 18:13:17 +0200 Subject: LibCore: Remove CTimer::create() overloads in favor of construct() --- Demos/WidgetGallery/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/WidgetGallery') 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()); -- cgit v1.2.3