Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
31e5d593
Commit
31e5d593
authored
Oct 16, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
wallpapers/potd/package/contents/ui/WallpaperDelegate.qml
View file @
31e5d593
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment