vlc | branch: master | Abel Tesfaye <[email protected]> | Thu Aug  8 
20:38:09 2019 +0300| [ff895a95b0d26ccdba2e22e6448989249e2e6e05] | committer: 
Jean-Baptiste Kempf

qml: set the backgroundColor of actions buttons in ListItem

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/gui/qt/qml/utils/ListItem.qml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt/qml/utils/ListItem.qml 
b/modules/gui/qt/qml/utils/ListItem.qml
index 013c5e8cbb..d30ea1dad3 100644
--- a/modules/gui/qt/qml/utils/ListItem.qml
+++ b/modules/gui/qt/qml/utils/ListItem.qml
@@ -195,6 +195,9 @@ NavigableFocusScope {
                             color: contextButton.activeFocus ? 
VLCStyle.colors.accent : VLCStyle.colors.text
                             focus: actionButtons.length == 
toolButtons.focusIndex
                             visible: root.showContextButton
+                            backgroundColor: hovered || activeFocus ? 
VLCStyle.colors.getBgColor(
+                                                 root.isSelected, root.hovered,
+                                                 root.activeFocus) : 
"transparent"
                             onClicked: root.contextMenuButtonClicked(this)
                         }
                     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to