1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

ThemeEditor: Store tab title in PropertyTabs as StringView

Removes a hop that creates a deprecated string.

We cannot store the title directly as a String, because we would have to
find a way to propagate the errors during constructing global static
objects.
This commit is contained in:
Karol Kosek 2023-03-10 21:20:56 +01:00 committed by Andreas Kling
parent 66402b0666
commit 6c6af8ae4e
2 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ struct PropertyGroup {
};
struct PropertyTab {
DeprecatedString title;
StringView title;
Vector<PropertyGroup> property_groups;
};