vlc | branch: master | Pierre Lamot <pie...@videolabs.io> | Wed Sep 25 16:48:53 
2019 +0200| [c5e36be5e6203c8b0cab9daad2583853cc226ea7] | committer: 
Jean-Baptiste Kempf

qml: allow to underline item in IconToolButton

   this can be used to mark the current focus on the item

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 modules/gui/qt/qml/utils/IconToolButton.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/qml/utils/IconToolButton.qml 
b/modules/gui/qt/qml/utils/IconToolButton.qml
index 4f282431e9..8174409649 100644
--- a/modules/gui/qt/qml/utils/IconToolButton.qml
+++ b/modules/gui/qt/qml/utils/IconToolButton.qml
@@ -55,6 +55,7 @@ ToolButton {
 
             font.pixelSize: control.size
             font.family: VLCIcons.fontFamily
+            font.underline: control.font.underline
 
             verticalAlignment: Text.AlignVCenter
             horizontalAlignment: Text.AlignHCenter

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to