summaryrefslogtreecommitdiff
path: root/Userland/Applications/MouseSettings/ThemeWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/MouseSettings/ThemeWidget.cpp')
-rw-r--r--Userland/Applications/MouseSettings/ThemeWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/MouseSettings/ThemeWidget.cpp b/Userland/Applications/MouseSettings/ThemeWidget.cpp
index cab8736420..cb7b498881 100644
--- a/Userland/Applications/MouseSettings/ThemeWidget.cpp
+++ b/Userland/Applications/MouseSettings/ThemeWidget.cpp
@@ -63,7 +63,7 @@ void MouseCursorModel::invalidate()
cursor.name = LexicalPath::basename(cursor.path);
// FIXME: Animated cursor bitmaps
- auto cursor_bitmap = Gfx::Bitmap::try_load_from_file(cursor.path);
+ auto cursor_bitmap = Gfx::Bitmap::try_load_from_file(cursor.path).release_value_but_fixme_should_propagate_errors();
auto cursor_bitmap_rect = cursor_bitmap->rect();
cursor.params = Gfx::CursorParams::parse_from_filename(cursor.name, cursor_bitmap_rect.center()).constrained(*cursor_bitmap);
cursor.bitmap = cursor_bitmap->cropped(Gfx::IntRect(Gfx::FloatRect(cursor_bitmap_rect).scaled(1.0 / cursor.params.frames(), 1.0))).release_value_but_fixme_should_propagate_errors();