vlc | branch: master | Abel Tesfaye <[email protected]> | Tue Aug 6 12:44:53 2019 +0300| [b5a26ae65d8779b468aae1d7eb58538e69968417] | committer: Jean-Baptiste Kempf
qml: expose contextButton visibility Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5a26ae65d8779b468aae1d7eb58538e69968417 --- modules/gui/qt/qml/utils/GridItem.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt/qml/utils/GridItem.qml b/modules/gui/qt/qml/utils/GridItem.qml index da354570e9..5e3039d59d 100644 --- a/modules/gui/qt/qml/utils/GridItem.qml +++ b/modules/gui/qt/qml/utils/GridItem.qml @@ -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 +} _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
