mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibCore: Remove CTimer::create() overloads in favor of construct()
This commit is contained in:
@@ -55,7 +55,7 @@ NetworkStatisticsWidget::NetworkStatisticsWidget(GWidget* parent)
|
||||
net_tcp_fields.empend("bytes_out", "Bytes Out", TextAlignment::CenterRight);
|
||||
m_socket_table_view->set_model(GJsonArrayModel::create("/proc/net/tcp", move(net_tcp_fields)));
|
||||
|
||||
m_update_timer = CTimer::create(
|
||||
m_update_timer = CTimer::construct(
|
||||
1000, [this] {
|
||||
update_models();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user