File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
panels/dock/taskmanager/package Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ ContainmentItem {
8080 onCountChanged : function () {
8181 relayoutWorkaroundTimer .start ()
8282 }
83- delegate: DropArea {
83+ delegate: Item {
8484 id: delegateRoot
8585 required property bool active
8686 required property bool attention
@@ -89,7 +89,6 @@ ContainmentItem {
8989 required property string iconName
9090 required property string menus
9191 required property list< string> windows
92- keys: [" text/x-dde-dock-dnd-appid" ]
9392 z: attention ? - 1 : 0
9493 property bool visibility: itemId !== taskmanager .Applet .desktopIdToAppId (launcherDndDropArea .launcherDndDesktopId )
9594
@@ -113,11 +112,6 @@ ContainmentItem {
113112 implicitWidth: useColumnLayout ? taskmanager .implicitWidth : visualModel .cellWidth
114113 implicitHeight: useColumnLayout ? visualModel .cellWidth : taskmanager .implicitHeight
115114
116- onEntered : function (drag ) {
117- // TODO: this is actually unused, should change the delegateRoot type from DropArea to Item later.
118- visualModel .items .move (drag .source .DelegateModel .itemsIndex , delegateRoot .DelegateModel .itemsIndex )
119- }
120-
121115 property int visualIndex: DelegateModel .itemsIndex
122116
123117 AppItem {
You can’t perform that action at this time.
0 commit comments