aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 08:37:30 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 08:37:30 +0800
commit3c8d5c8f732239a8b50418be27464e30b9dddeae (patch)
tree8ffb46c18e48c8463c1fb16fcacf216f296b8a1f /src/ThemeBuilder/components
parent37943858b3b260589b5dc222bb5184d2846fb6dc (diff)
downloadcru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.gz
cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.bz2
cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.zip
Exception remove string.
Diffstat (limited to 'src/ThemeBuilder/components')
-rw-r--r--src/ThemeBuilder/components/StyleRuleSetEditor.cpp2
-rw-r--r--src/ThemeBuilder/components/conditions/ConditionEditor.cpp2
-rw-r--r--src/ThemeBuilder/components/stylers/StylerEditor.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
index a1c19e08..1410ff7c 100644
--- a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
+++ b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
@@ -107,7 +107,7 @@ void StyleRuleSetEditor::UpdateView(
break;
}
case ui::model::ListChangeType::kItemMove: {
- throw Exception(u"Not supported now!");
+ throw Exception("Not supported now!");
break;
}
case ui::model::ListChangeType::kClear: {
diff --git a/src/ThemeBuilder/components/conditions/ConditionEditor.cpp b/src/ThemeBuilder/components/conditions/ConditionEditor.cpp
index 421bb028..3435b36f 100644
--- a/src/ThemeBuilder/components/conditions/ConditionEditor.cpp
+++ b/src/ThemeBuilder/components/conditions/ConditionEditor.cpp
@@ -44,7 +44,7 @@ std::unique_ptr<ConditionEditor> CreateConditionEditor(
result->SetValue(checked_condition);
return result;
} else {
- throw Exception(u"Unknown condition type");
+ throw Exception("Unknown condition type");
}
}
} // namespace cru::theme_builder::components::conditions
diff --git a/src/ThemeBuilder/components/stylers/StylerEditor.cpp b/src/ThemeBuilder/components/stylers/StylerEditor.cpp
index b3147a15..4fd52b96 100644
--- a/src/ThemeBuilder/components/stylers/StylerEditor.cpp
+++ b/src/ThemeBuilder/components/stylers/StylerEditor.cpp
@@ -58,7 +58,7 @@ std::unique_ptr<StylerEditor> CreateStylerEditor(ui::style::Styler* styler) {
editor->SetValue(font_styler);
return editor;
} else {
- throw Exception(u"Unknown styler type");
+ throw Exception("Unknown styler type");
}
}
} // namespace cru::theme_builder::components::stylers