Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
438
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b2358bbf
Commit
b2358bbf
authored
7 months ago
by
Fatih Uzunoğlu
Committed by
Steve Lhomme
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
qt: fix artwork info widget can not be dragged with Qt 6.2
parent
3b5c92f3
No related branches found
No related tags found
1 merge request
!5707
qt: fix artwork info widget can not be dragged with Qt 6.2
Pipeline
#501574
failed with stages
Stage:
Stage:
in 25 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
+23
-7
23 additions, 7 deletions
...ui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
with
23 additions
and
7 deletions
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
+
23
−
7
View file @
b2358bbf
...
...
@@ -107,13 +107,29 @@ AbstractButton {
indexes
:
[
0
]
}
DragHandler
{
target
:
null
onActiveChanged
:
{
if
(
active
)
{
dragItem
.
Drag
.
active
=
true
}
else
{
dragItem
.
Drag
.
drop
()
// TODO: Qt bug 6.2: QTBUG-103604
Item
{
anchors.fill
:
parent
TapHandler
{
gesturePolicy
:
TapHandler
.
ReleaseWithinBounds
// TODO: Qt 6.2 bug: Use TapHandler.DragThreshold
grabPermissions
:
TapHandler
.
CanTakeOverFromHandlersOfDifferentType
|
TapHandler
.
ApprovesTakeOverByAnything
onTapped
:
History
.
push
([
"
player
"
])
}
DragHandler
{
target
:
null
grabPermissions
:
PointerHandler
.
CanTakeOverFromHandlersOfDifferentType
|
PointerHandler
.
ApprovesTakeOverByAnything
onActiveChanged
:
{
if
(
active
)
{
dragItem
.
Drag
.
active
=
true
}
else
{
dragItem
.
Drag
.
drop
()
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Olaf Hering
@olafhering
mentioned in issue
#28735 (closed)
·
6 months ago
mentioned in issue
#28735 (closed)
mentioned in issue #28735
Toggle commit list
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment