mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibCore: Remove CTimer::create() overloads in favor of construct()
This commit is contained in:
@@ -10,7 +10,7 @@ GAbstractButton::GAbstractButton(const StringView& text, GWidget* parent)
|
||||
: GWidget(parent)
|
||||
, m_text(text)
|
||||
{
|
||||
m_auto_repeat_timer = CTimer::create(this);
|
||||
m_auto_repeat_timer = CTimer::construct(this);
|
||||
m_auto_repeat_timer->on_timeout = [this] {
|
||||
click();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user