[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: don't show overlay when playlist is not docked

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jun 8 13:43:12 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f30f101c by Prince Gupta at 2023-06-08T13:07:44+00:00
qml: don't show overlay when playlist is not docked

- - - - -
a41a0d83 by Prince Gupta at 2023-06-08T13:07:44+00:00
qml: fix global shortcuts with undocked playlist windows

Qt.ApplictionShortcut doesn't work if you define shortcuts twice

- - - - -


2 changed files:

- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/playlist/qml/PlaylistDetachedWindow.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -324,8 +324,10 @@ FocusScope {
                     }
 
                     Rectangle {
+                        // overlay for smallscreens
+
                         anchors.fill: parent
-                        visible: VLCStyle.isScreenSmall && MainCtx.playlistVisible
+                        visible: VLCStyle.isScreenSmall && MainCtx.playlistVisible && MainCtx.playlistDocked
                         color: "black"
                         opacity: 0.4
 


=====================================
modules/gui/qt/playlist/qml/PlaylistDetachedWindow.qml
=====================================
@@ -36,11 +36,6 @@ Window {
     title: I18n.qtr("Playlist")
     color: theme.bg.primary
 
-    Loader {
-        asynchronous: true
-        source: "qrc:///menus/GlobalShortcuts.qml"
-    }
-
     Component.onCompleted: {
         if (!!parentWindow) {
             height = parentWindow.height



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f7d92482f6c7b12d064394d417a3696a73026f0d...a41a0d8347ef7602239369deaf920a8be035c2f1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f7d92482f6c7b12d064394d417a3696a73026f0d...a41a0d8347ef7602239369deaf920a8be035c2f1
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list