diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
| commit | 32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch) | |
| tree | 892b71060a88b58d9293d78033000b05818783df /src/ThemeBuilder/components/HeadBodyEditor.cpp | |
| parent | faf77949e19dc0d01f75bf8abb783eda70328048 (diff) | |
| download | cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2 cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip | |
Remove String stage 1.
Diffstat (limited to 'src/ThemeBuilder/components/HeadBodyEditor.cpp')
| -rw-r--r-- | src/ThemeBuilder/components/HeadBodyEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ThemeBuilder/components/HeadBodyEditor.cpp b/src/ThemeBuilder/components/HeadBodyEditor.cpp index 6d7ace66..3cc71d53 100644 --- a/src/ThemeBuilder/components/HeadBodyEditor.cpp +++ b/src/ThemeBuilder/components/HeadBodyEditor.cpp @@ -16,8 +16,8 @@ HeadBodyEditor::HeadBodyEditor() { remove_button_.GetStyleRuleSet()->SetParent( ui::ThemeManager::GetInstance()->GetResourceStyleRuleSet( - u"cru.theme_builder.icon-button.style")); - remove_button_.SetIconWithSvgPathDataStringResourceKey(u"icon.close", + "cru.theme_builder.icon-button.style")); + remove_button_.SetIconWithSvgPathDataStringResourceKey("icon.close", {0, 0, 16, 16}); remove_button_.SetIconFillColor(ui::colors::red); head_container_.AddChild(&remove_button_); |
