Skip to content

Commit

Permalink
chore: temporary disable DnD on FullscreenFrame
Browse files Browse the repository at this point in the history
暂时禁用拖放支持,是上个清理代码的提交不小心加上去的。

Log:
  • Loading branch information
BLumia committed Nov 22, 2023
1 parent 630b4cd commit f152e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/FullscreenFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Control {
focus: true
activeGridViewFocusOnTab: gridViewLoader.SwipeView.isCurrentItem
delegate: IconItemDelegate {
dndEnabled: true
dndEnabled: false
Drag.mimeData: {
"application/x-dde-launcher-dnd-fullscreen": ("0," + modelData + "," + index), // "folder,page,index"
"application/x-dde-launcher-dnd-desktopId": model.desktopId
Expand Down Expand Up @@ -364,7 +364,7 @@ Control {
focus: true
activeGridViewFocusOnTab: folderGridViewLoader.SwipeView.isCurrentItem
delegate: IconItemDelegate {
dndEnabled: true
dndEnabled: false
iconSource: "image://app-icon/" + iconName
width: folderGridViewContainer.cellSize
height: folderGridViewContainer.cellSize
Expand Down

0 comments on commit f152e93

Please sign in to comment.