[vlc-devel] [PATCH 12/29] qml: set attached ToolTip defaults for IconToolButton
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Apr 1 22:22:24 UTC 2021
---
modules/gui/qt/widgets/qml/IconToolButton.qml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt/widgets/qml/IconToolButton.qml b/modules/gui/qt/widgets/qml/IconToolButton.qml
index dfb1c179a5..daf2ccfa03 100644
--- a/modules/gui/qt/widgets/qml/IconToolButton.qml
+++ b/modules/gui/qt/widgets/qml/IconToolButton.qml
@@ -38,6 +38,9 @@ ToolButton {
enabled: !paintOnly
+ ToolTip.text: control.text
+ ToolTip.delay: 500
+
onActiveFocusChanged: {
if (!enabled) {
var keyNavigationLeft = control.KeyNavigation.left
--
2.27.0
More information about the vlc-devel
mailing list