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
443
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
d28d8274
Commit
d28d8274
authored
10 months ago
by
Fatih Uzunoğlu
Committed by
Steve Lhomme
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: fix binding not restored with Qt 6 in PlayButton
parent
9dc558a2
No related branches found
Branches containing commit
No related tags found
1 merge request
!5211
qml: fix binding not restored with Qt 6 in PlayButton
Pipeline
#459139
passed with warnings with stage
Stage:
in 49 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/player/qml/controlbarcontrols/PlayButton.qml
+5
-8
5 additions, 8 deletions
modules/gui/qt/player/qml/controlbarcontrols/PlayButton.qml
with
5 additions
and
8 deletions
modules/gui/qt/player/qml/controlbarcontrols/PlayButton.qml
+
5
−
8
View file @
d28d8274
...
...
@@ -284,15 +284,12 @@ T.Control {
color
:
"
white
"
anchors.fill
:
parent
anchors.margins
:
VLCStyle
.
dp
(
2
)
anchors.margins
:
_diminished
?
(
parent
.
width
/
2
)
:
VLCStyle
.
dp
(
2
)
radius
:
width
Binding
on
anchors.margins
{
id
:
marginBinding
when
:
false
value
:
(
innerRectangle
.
parent
.
width
/
2
)
}
property
bool
_diminished
:
false
onStateChanged
:
{
if
(
state
===
"
diminished
"
)
{
...
...
@@ -301,7 +298,7 @@ T.Control {
}
else
{
bindingTimer
.
stop
()
marginBehavior
.
enabled
=
false
marginBinding
.
w
he
n
=
false
_diminis
he
d
=
false
}
}
...
...
@@ -311,7 +308,7 @@ T.Control {
// to hold the button.
id
:
bindingTimer
interval
:
mouseArea
.
pressAndHoldInterval
/
3
onTriggered
:
marginBinding
.
w
he
n
=
true
onTriggered
:
innerRectangle
.
_diminis
he
d
=
true
}
Behavior
on
anchors.margins
{
...
...
This diff is collapsed.
Click to expand it.
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