Commit 31e5d593 authored by Fushan Wen's avatar Fushan Wen
Browse files

Revert "wallpapers/potd: show image with cursor when dragging"

This reverts commit 9bbb1e78

BUG: 460378
FIXED-IN: 5.26.1
parent 3e16df72
Pipeline #248623 passed with stage
in 1 minute and 27 seconds
......@@ -143,6 +143,7 @@ FocusScope {
fillMode: wallpaper.configuration.FillMode || Image.PreserveAspectCrop
smooth: true
Drag.active: dragHandler.active
Drag.dragType: Drag.Automatic
Drag.supportedActions: Qt.CopyAction
Drag.mimeData: {
......@@ -152,15 +153,6 @@ FocusScope {
DragHandler {
id: dragHandler
onActiveChanged: if (active) {
parent.grabToImage((result) => {
parent.Drag.imageSource = result.url;
parent.Drag.active = dragHandler.active;
});
} else {
parent.Drag.active = false;
}
}
// CachedProvider will load the image from cache, but we would like to show the real loading status.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment