fixed me being stupid

This commit is contained in:
Zacharias-Brohn
2025-11-14 23:57:25 +01:00
parent 030ab5fea0
commit 800fff4fcc
3 changed files with 5 additions and 6 deletions
+3 -5
View File
@@ -14,7 +14,6 @@ MouseArea {
property point globalPos
implicitWidth: 22
implicitHeight: parent.height
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
@@ -38,11 +37,10 @@ MouseArea {
height: batteryHDPI ? 26 : ( nmHDPI ? 25 : 22 )
source: root.item.icon
mipmap: true
smooth: batteryHDPI ? false : ( nmHDPI ? false : true )
smooth: ( batteryHDPI || nmHDPI ) ? false : true
asynchronous: true
sourceSize.width: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 )
sourceSize.height: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 )
autoTransform: true
sourceSize.width: ( batteryHDPI || nmHDPI ) ? 16 : 22
sourceSize.height: ( batteryHDPI || nmHDPI ) ? 16 : 22
fillMode: Image.PreserveAspectFit
TrayMenu {
+1
View File
@@ -22,6 +22,7 @@ Rectangle {
TrayItem {
id: trayItem
required property SystemTrayItem modelData
implicitHeight: root.implicitHeight
item: modelData
bar: root.bar
}