[vlc-commits] qml: remove actionButtons for drive

Abel Tesfaye git at videolan.org
Wed Aug 21 15:08:50 CEST 2019


vlc | branch: master | Abel Tesfaye <Abeltesfaye45 at gmail.com> | Wed Aug  7 14:35:55 2019 +0300| [7e725647c6a106a0a55335975fddcdf5fe9e31b6] | committer: Jean-Baptiste Kempf

qml: remove actionButtons for drive

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

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

 modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml b/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
index 0c64ebc6a4..748dfb2100 100644
--- a/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
@@ -53,19 +53,5 @@ Utils.ListItem {
         history.push( ["mc", "network", { tree: model.tree } ], History.Go)
     }
 
-    Component {
-        id: actionAdd
-        Utils.IconToolButton {
-            size: VLCStyle.icon_normal
-            text: model.indexed ? VLCIcons.remove : VLCIcons.add
-
-            focus: true
-
-            highlightColor: activeFocus ? VLCStyle.colors.buttonText : "transparent"
-
-            onClicked: model.indexed = !model.indexed
-        }
-    }
-
-    actionButtons: model.can_index ? [actionAdd] : []
+    actionButtons: []
 }



More information about the vlc-commits mailing list