1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

Revert "dock: use required properties in dock item delegate, fixes context injection on Qt 6.8 (#2926)"

This reverts commit b8e2ce1da8.
This commit is contained in:
bbedward
2026-07-26 19:45:45 -04:00
parent c128793239
commit b1b7aa7aa2
+2 -4
View File
@@ -479,8 +479,6 @@ Item {
delegate: Item {
id: delegateItem
required property var modelData
required property int index
property var dockButton: {
switch (itemData.type) {
@@ -601,7 +599,7 @@ Item {
height: delegateItem.height
actualIconSize: root.iconSize
dockApps: root
index: delegateItem.index
index: model.index
}
DockTrashButton {
@@ -626,7 +624,7 @@ Item {
appData: itemData
contextMenu: root.contextMenu
dockApps: root
index: delegateItem.index
index: model.index
parentDockScreen: root.dockScreen
showWindowTitle: itemData?.type === "window" || itemData?.type === "grouped"
windowTitle: {