summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor/NetworkStatisticsWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/SystemMonitor/NetworkStatisticsWidget.cpp')
-rw-r--r--Applications/SystemMonitor/NetworkStatisticsWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/NetworkStatisticsWidget.cpp b/Applications/SystemMonitor/NetworkStatisticsWidget.cpp
index ae4573aa75..38e7b9a1bb 100644
--- a/Applications/SystemMonitor/NetworkStatisticsWidget.cpp
+++ b/Applications/SystemMonitor/NetworkStatisticsWidget.cpp
@@ -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();
},