[vlc-commits] qml: invert mrl and name for files in network view

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


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Sep 17 09:27:51 2019 +0200| [9c43a0f7f8e53b17212e0118488bbbdbeacff9d3] | committer: Jean-Baptiste Kempf

qml: invert mrl and name for files in network view

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

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

 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



More information about the vlc-commits mailing list