vlc | branch: master | Pierre Lamot <[email protected]> | Wed Jul 10 10:41:54 
2019 +0200| [6190aa2d09dd4968c0f6958d512fbb2d7615b888] | committer: 
Jean-Baptiste Kempf

qml: fix playlist not shown when clicking on the playlist button

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6190aa2d09dd4968c0f6958d512fbb2d7615b888
---

 modules/gui/qt/qml/player/ControlBar.qml     | 1 -
 modules/gui/qt/qml/player/ControlButtons.qml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/qt/qml/player/ControlBar.qml 
b/modules/gui/qt/qml/player/ControlBar.qml
index b4cd089321..7889717410 100644
--- a/modules/gui/qt/qml/player/ControlBar.qml
+++ b/modules/gui/qt/qml/player/ControlBar.qml
@@ -33,7 +33,6 @@ Utils.NavigableFocusScope {
     id: root
 
     signal showTrackBar()
-    signal showPlaylist()
 
     property bool noAutoHide: _lockAutoHide !== 0
     property int  _lockAutoHide: 0 //count the number of element locking the 
autoHide
diff --git a/modules/gui/qt/qml/player/ControlButtons.qml 
b/modules/gui/qt/qml/player/ControlButtons.qml
index cd51f415ec..d746dd6da4 100644
--- a/modules/gui/qt/qml/player/ControlButtons.qml
+++ b/modules/gui/qt/qml/player/ControlButtons.qml
@@ -161,7 +161,7 @@ Item{
             objectName: "IconToolButton"
             size: VLCStyle.icon_medium
             text: VLCIcons.playlist
-            onClicked: root.showPlaylist()
+            onClicked: rootWindow.playlistVisible = !rootWindow.playlistVisible
             property bool acceptFocus: true
         }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to