mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
DisplaySettings: Propagate errors in EffectsSettingsWidget
This commit is contained in:
parent
1c20cf7bee
commit
00be9eb210
Notes:
sideshowbarker
2024-07-16 22:38:44 +09:00
Author: https://github.com/implicitfield
Commit: 00be9eb210
Pull-request: https://github.com/SerenityOS/serenity/pull/17893
2 changed files with 17 additions and 5 deletions
|
@ -14,7 +14,9 @@ namespace GUI {
|
|||
namespace DisplaySettings {
|
||||
|
||||
class EffectsSettingsWidget final : public SettingsWindow::Tab {
|
||||
C_OBJECT(EffectsSettingsWidget);
|
||||
C_OBJECT_ABSTRACT(EffectsSettingsWidget);
|
||||
|
||||
static ErrorOr<NonnullRefPtr<EffectsSettingsWidget>> try_create();
|
||||
|
||||
public:
|
||||
virtual ~EffectsSettingsWidget() override = default;
|
||||
|
@ -22,7 +24,8 @@ public:
|
|||
virtual void apply_settings() override;
|
||||
|
||||
private:
|
||||
EffectsSettingsWidget();
|
||||
EffectsSettingsWidget() = default;
|
||||
ErrorOr<void> setup_interface();
|
||||
|
||||
ErrorOr<void> load_settings();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue