[vlc-commits] [Git][videolan/vlc][master] qml: use `QStyleHints::toolTipWakeUpDelay` when available

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Jul 2 17:48:49 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
7c388797 by Fatih Uzunoglu at 2026-07-02T19:25:17+02:00
qml: use `QStyleHints::toolTipWakeUpDelay` when available

This property is introduced in Qt 6.12.

- - - - -


1 changed file:

- modules/gui/qt/style/VLCStyle.qml


Changes:

=====================================
modules/gui/qt/style/VLCStyle.qml
=====================================
@@ -297,7 +297,7 @@ QtObject {
     readonly property int duration_humanMoment: 2000
 
     //timing before showing up a tooltip
-    readonly property int delayToolTipAppear: 700
+    readonly property int delayToolTipAppear: (Application?.styleHints?.toolTipWakeUpDelay ?? 700)
 
     //timing for the progressbar/scanbar bouncing animation, explicitly very long
     readonly property int durationSliderBouncing: 2000



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7c388797614a7adb6613b041c0de17ae609b38fb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7c388797614a7adb6613b041c0de17ae609b38fb
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list