Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions panels/dock/taskmanager/package/TaskManager.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ContainmentItem {
onCountChanged: function() {
relayoutWorkaroundTimer.start()
}
delegate: DropArea {
delegate: Item {
id: delegateRoot
required property bool active
required property bool attention
Expand All @@ -89,7 +89,6 @@ ContainmentItem {
required property string iconName
required property string menus
required property list<string> windows
keys: ["text/x-dde-dock-dnd-appid"]
z: attention ? -1 : 0
property bool visibility: itemId !== taskmanager.Applet.desktopIdToAppId(launcherDndDropArea.launcherDndDesktopId)

Expand All @@ -113,11 +112,6 @@ ContainmentItem {
implicitWidth: useColumnLayout ? taskmanager.implicitWidth : visualModel.cellWidth
implicitHeight: useColumnLayout ? visualModel.cellWidth : taskmanager.implicitHeight

onEntered: function(drag) {
// TODO: this is actually unused, should change the delegateRoot type from DropArea to Item later.
visualModel.items.move(drag.source.DelegateModel.itemsIndex, delegateRoot.DelegateModel.itemsIndex)
}

property int visualIndex: DelegateModel.itemsIndex

AppItem {
Expand Down