Sam Atkins
17b41f0d61
MouseSettings: Set window modified state
2022-05-12 13:10:49 +02:00
Sam Atkins
e74e320750
MouseSettings: Update the cursor theme preview when restoring defaults
...
Previously, if you opened MouseSettings, set the cursor theme to Dark,
and then click "Defaults", the cursors list would not update.
ComboBox::set_text() does not call the on_change callback, so we have
to run the steps manually.
I've also made `m_theme_name` into a local variable, since it can be.
2022-05-12 13:10:49 +02:00
Itamar
935d023967
Userland: Rename WindowServerConnection=>ConnectionToWindowServer
...
This was done with CLion's automatic rename feature.
2022-02-25 22:35:12 +01:00
Lenny Maiorani
160bda7228
Applications: Use default constructors/destructors
...
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules
"The compiler is more likely to get the default semantics right and
you cannot implement these functions better than the compiler."
2022-02-14 22:06:55 +00:00
Sam Atkins
f6633a1026
LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr
...
Unfortunately, most of the users are inside constructors, (and two
others are inside callback lambdas) so the error can't propagate, but
that can be improved later.
2021-12-24 05:11:52 -08:00
Sam Atkins
f20b0403bc
MouseSettings: Migrate to using SettingsWindow :^)
2021-11-20 21:05:20 +00:00
Andreas Kling
235f39e449
LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()
...
This was used in a lot of places, so this patch makes liberal use of
ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
2021-11-08 00:35:27 +01:00
Andreas Kling
8262bbf624
LibGfx: Use ErrorOr<T> for Bitmap::cropped()
2021-11-08 00:35:27 +01:00
Karol Kosek
d1846867cd
WidgetGallery+MouseSettings: Use LexicalPath::basename()
2021-09-20 15:59:34 +02:00
Maciej Zygmanowski
42df4fb2df
MouseSettings: Add a tab to change cursor theme
2021-08-23 01:41:53 +02:00