Switched to qmlformat.

This commit is contained in:
ItsLemmy
2025-11-16 17:07:03 -05:00
parent 32905224b9
commit 3ff5b7639f
223 changed files with 9970 additions and 9658 deletions
+5 -5
View File
@@ -13,14 +13,14 @@ Text {
visible: (icon !== undefined) && (icon !== "")
text: {
if ((icon === undefined) || (icon === "")) {
return ""
return "";
}
if (Icons.get(icon) === undefined) {
Logger.w("Icon", `"${icon}"`, "doesn't exist in the icons font")
Logger.callStack()
return Icons.get(Icons.defaultIcon)
Logger.w("Icon", `"${icon}"`, "doesn't exist in the icons font");
Logger.callStack();
return Icons.get(Icons.defaultIcon);
}
return Icons.get(icon)
return Icons.get(icon);
}
font.family: Icons.fontFamily
font.pointSize: applyUiScale ? root.pointSize * Style.uiScaleRatio : root.pointSize