[vlc-commits] qml: display the current folder name on top of the network view

Pierre Lamot git at videolan.org
Mon Oct 14 11:59:24 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Sep 24 16:18:26 2019 +0200| [6e9859b6c28ae5111dbc717283e7f5d4ae8b37cf] | committer: Jean-Baptiste Kempf

qml: display the current folder name on top of the network view

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml b/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml
index 809da086fc..cfd7569298 100644
--- a/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml
@@ -279,6 +279,11 @@ Utils.NavigableFocusScope {
             onActionAtIndex: delegateModel.actionAtIndex(index)
 
             navigationParent: root
+
+            header:  Utils.LabelSeparator {
+                text: providerModel.name
+                width: view.width
+            }
         }
     }
 
@@ -299,6 +304,11 @@ Utils.NavigableFocusScope {
             onActionAtIndex: delegateModel.actionAtIndex(index)
 
             navigationParent: root
+
+            header:  Utils.LabelSeparator {
+                text: providerModel.name
+                width: view.width
+            }
         }
     }
 



More information about the vlc-commits mailing list