mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:47:44 +00:00
DisplaySettings: Propagate errors in ThemesSettingsWidget
This commit is contained in:
parent
83eca15e51
commit
9c7dfd4fd4
2 changed files with 44 additions and 18 deletions
|
@ -17,12 +17,14 @@
|
|||
namespace DisplaySettings {
|
||||
|
||||
class ThemesSettingsWidget final : public GUI::SettingsWindow::Tab {
|
||||
C_OBJECT(ThemesSettingsWidget);
|
||||
C_OBJECT_ABSTRACT(ThemesSettingsWidget);
|
||||
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<ThemesSettingsWidget>> try_create(bool& background_settings_changed);
|
||||
virtual void apply_settings() override;
|
||||
|
||||
private:
|
||||
ErrorOr<void> setup_interface();
|
||||
Vector<Gfx::SystemThemeMetaData> m_themes;
|
||||
Vector<DeprecatedString> m_theme_names;
|
||||
Vector<DeprecatedString> m_color_scheme_names;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue