mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 10:25:07 +00:00
LibCore: Remove CTimer::create() overloads in favor of construct()
This commit is contained in:
parent
9e00651e14
commit
f4b51a63ec
13 changed files with 14 additions and 24 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue