mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 04:04:58 +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
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue