[vlc-devel] [PATCH 13/29] qml: remove actionButtons for drive

Abel Tesfaye abeltesfaye45 at gmail.com
Tue Aug 20 12:42:30 CEST 2019


From: Abel Tesfaye <Abeltesfaye45 at gmail.com>

---
 .../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: []
 }
-- 
2.21.0



More information about the vlc-devel mailing list