use Universal character names in string literals.

This commit is contained in:
Roy Qu 2024-05-17 16:58:29 +08:00
parent ea707d1923
commit fc68af7b0b
1 changed files with 4 additions and 4 deletions

View File

@ -322,13 +322,13 @@ const QString AppTheme::categoryIcon() const
{
switch (mCategory) {
case ThemeCategory::FailSafe:
return "";
return QString{"\U0000274C"}; //❌
case ThemeCategory::BuiltIn:
return "📦";
return QString{"\U0001F4E6"}; //📦
case ThemeCategory::Custom:
return "📄";
return QString{"\U0001F4C4"}; //📄
case ThemeCategory::Shared:
return "🌐";
return QString{"\U0001F310"}; //🌐
default:
return "";
}