mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
DisplaySettings: Stop using DeprecatedString
This also further improves error propagation in cases where String demands it.
This commit is contained in:
parent
c9ad252e33
commit
44b67db7ab
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/implicitfield
Commit: 44b67db7ab
Pull-request: https://github.com/SerenityOS/serenity/pull/17893
13 changed files with 217 additions and 116 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <LibGUI/AbstractThemePreview.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
|
@ -18,7 +19,7 @@ class ThemePreviewWidget final : public GUI::AbstractThemePreview {
|
|||
C_OBJECT(ThemePreviewWidget);
|
||||
|
||||
public:
|
||||
ErrorOr<void> set_theme(DeprecatedString path);
|
||||
ErrorOr<void> set_theme(String path);
|
||||
|
||||
private:
|
||||
explicit ThemePreviewWidget(Gfx::Palette const& palette);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue