1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Userland: Replace remaining Core::Timer::construct()s with try_create()

This commit is contained in:
Sam Atkins 2023-01-11 17:27:28 +00:00 committed by Andreas Kling
parent e181b1cb82
commit 652f87821b
4 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@
namespace ImageViewer {
ViewWidget::ViewWidget()
: m_timer(Core::Timer::construct())
: m_timer(Core::Timer::try_create().release_value_but_fixme_should_propagate_errors())
{
set_fill_with_background_color(false);
}