1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

DisplaySettings: Stop using DeprecatedString

This also further improves error propagation in cases where String
demands it.
This commit is contained in:
implicitfield 2023-03-16 23:11:53 +04:00 committed by Andreas Kling
parent c9ad252e33
commit 44b67db7ab
13 changed files with 217 additions and 116 deletions

View file

@ -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);