Skip to content
Snippets Groups Projects
Commit b5a26ae6 authored by Abel Tesfaye's avatar Abel Tesfaye Committed by Jean-Baptiste Kempf
Browse files

qml: expose contextButton visibility


Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 90acbbd7
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ Rectangle {
property bool selected: false
property int shiftX: 0
property bool noActionButtons: false
property bool showContextButton: isVideo
property alias sourceSize: cover.sourceSize
property string infoLeft: ""
......@@ -218,7 +219,7 @@ Rectangle {
}
ContextButton {
id: contextButton
visible: isVideo
visible: root.showContextButton
anchors {
top: cover.top
right: cover.right
......@@ -448,4 +449,4 @@ Rectangle {
}
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment