[vlc-devel] [PATCH 06/49] qml: invert mrl and name for files in network view

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


---
 modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml b/modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml
index f720bf5da3..30a2715cee 100644
--- a/modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml
+++ b/modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml
@@ -30,8 +30,8 @@ Utils.GridItem {
     pictureWidth: VLCStyle.network_normal
     pictureHeight: VLCStyle.network_normal
     image: "qrc:///type/file_black.svg"
-    subtitle: model.name || qsTr("Unknown share")
-    title: model.mrl
+    subtitle: model.mrl || ""
+    title: model.name || qsTr("Unknown share")
     focus: true
 
     selected: element.DelegateModel.inSelected
-- 
2.20.1



More information about the vlc-devel mailing list