nsection-editor: restore CPU intensive icon that was removed by a bad merge.

This commit is contained in:
Lemmy
2026-03-05 09:34:02 -05:00
parent ae69987d9e
commit a2e6791cef
+10
View File
@@ -586,6 +586,16 @@ NBox {
Layout.preferredHeight: Style.baseWidgetSize * 0.5
}
// CPU intensive indicator icon
NIcon {
visible: root.widgetRegistry && root.widgetRegistry.isCpuIntensive(modelData.id)
icon: "cpu-intensive"
pointSize: Style.fontSizeXXS
color: root.getWidgetColor(modelData)[1]
Layout.preferredWidth: visible ? Style.baseWidgetSize * 0.5 : 0
Layout.preferredHeight: Style.baseWidgetSize * 0.5
}
RowLayout {
spacing: 0
Layout.preferredWidth: buttonsCount * buttonsWidth * Style.uiScaleRatio