[vlc-commits] [Git][videolan/vlc][master] qml: delay visibility of no content info in playlist

Thomas Guillem (@tguillem) gitlab at videolan.org
Fri Dec 22 08:57:41 UTC 2023



Thomas Guillem pushed to branch master at VideoLAN / VLC


Commits:
ba8542db by Fatih Uzunoglu at 2023-12-22T08:33:36+00:00
qml: delay visibility of no content info in playlist

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistListView.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistListView.qml
=====================================
@@ -467,11 +467,16 @@ T.Pane {
 
                 anchors.centerIn: parent
 
-                visible: (model.count === 0 && !listView.footerItem.firstItemIndicatorVisible)
+                visible: false
                 enabled: visible
 
                 opacity: (listView.activeFocus) ? 1.0 : 0.4
 
+                BindingCompat on visible {
+                    delayed: true
+                    value: (listView.model.count === 0 && !listView.footerItem.firstItemIndicatorVisible)
+                }
+
                 Widgets.IconLabel {
                     id: label
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba8542db998096c81ef11d092b8cda7e66c4e1bb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba8542db998096c81ef11d092b8cda7e66c4e1bb
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