[vlc-commits] qml: remove redundant Rectangle node of MiniPlayer
Pierre Lamot
git at videolan.org
Thu Aug 29 10:45:16 CEST 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Aug 29 09:49:22 2019 +0200| [6e9304aa7c0fa10763fb0b55e16c6362792fe42c] | committer: Jean-Baptiste Kempf
qml: remove redundant Rectangle node of MiniPlayer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e9304aa7c0fa10763fb0b55e16c6362792fe42c
---
modules/gui/qt/qml/player/MiniPlayer.qml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/modules/gui/qt/qml/player/MiniPlayer.qml b/modules/gui/qt/qml/player/MiniPlayer.qml
index 89ee15f792..19dd5e95b5 100644
--- a/modules/gui/qt/qml/player/MiniPlayer.qml
+++ b/modules/gui/qt/qml/player/MiniPlayer.qml
@@ -59,19 +59,12 @@ Utils.NavigableFocusScope {
RowLayout {
anchors.fill: parent
- Item {
+ Rectangle {
id: playingItemInfo
Layout.fillHeight: true
width: childrenRect.width
focus: true
-
- Rectangle {
- anchors.fill: parent
- visible: parent.activeFocus
- color: VLCStyle.colors.accent
- border.width: 0
- border.color: VLCStyle.colors.accent
- }
+ color: activeFocus ? VLCStyle.colors.accent : "transparent"
MouseArea {
anchors.fill: parent
More information about the vlc-commits
mailing list