[vlc-devel] [PATCH 03/49] qml: allow to underline item in IconToolButton

Pierre Lamot pierre at videolabs.io
Fri Oct 11 15:17:27 CEST 2019


   this can be used to mark the current focus on the item
---
 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
-- 
2.20.1



More information about the vlc-devel mailing list