vlc | branch: master | Pierre Lamot <[email protected]> | 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 <[email protected]>

> 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
+            }
         }
     }
 

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

Reply via email to