diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index d1ae0549ea..8cef1f408a 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -153,8 +153,7 @@ void GLContextWidget::mousewheel_event(GUI::MouseEvent& event) void GLContextWidget::timer_event(Core::TimerEvent&) { - Core::ElapsedTimer timer; - timer.start(); + auto timer = Core::ElapsedTimer::start_new(); glCallList(m_init_list);