diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 18:13:17 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 18:13:17 +0200 |
commit | f4b51a63ec085db62ea2c122ee6ba93eeef62594 (patch) | |
tree | 8e71f811b463556b1216e8aed71f20092db3d81c /Demos/WidgetGallery | |
parent | 9e00651e1440263ff78aa29474229e5c18f06053 (diff) | |
download | serenity-f4b51a63ec085db62ea2c122ee6ba93eeef62594.zip |
LibCore: Remove CTimer::create() overloads in favor of construct()
Diffstat (limited to 'Demos/WidgetGallery')
-rwxr-xr-x | Demos/WidgetGallery/main.cpp | 2 |
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()); |