mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Switched to qmlformat.
This commit is contained in:
+5
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user