[vlc-devel] [PATCH 27/49] qml: display the current folder name on top of the network view

Pierre Lamot pierre at videolabs.io
Fri Oct 11 15:17:51 CEST 2019


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



More information about the vlc-devel mailing list