summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-01-10 18:06:21 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-01-14 07:48:14 +0100
commit50218659a4488d6e5717ad358d289b6d5e79173b (patch)
treefe527225e0a5fb9058848c51235e7d5201109832 /src/gui/kernel/qstylehints.h
parentf5b1dbb8f6966bea54799480e3c16e23f0d06d42 (diff)
QStyleHints: Fix Q_PROPERTY declaration for keyboardAutoRepeatRateF
Pick-to: 6.5 Change-Id: I21d3280176d6c52daab0b3abfdafb404d42db9d0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel/qstylehints.h')
-rw-r--r--src/gui/kernel/qstylehints.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qstylehints.h b/src/gui/kernel/qstylehints.h
index 8321b6189e..779bed67d8 100644
--- a/src/gui/kernel/qstylehints.h
+++ b/src/gui/kernel/qstylehints.h
@@ -22,7 +22,7 @@ class Q_GUI_EXPORT QStyleHints : public QObject
#if QT_DEPRECATED_SINCE(6, 5)
Q_PROPERTY(int keyboardAutoRepeatRate READ keyboardAutoRepeatRate STORED false CONSTANT FINAL)
#endif
- Q_PROPERTY(int keyboardAutoRepeatRateF READ keyboardAutoRepeatRateF STORED false CONSTANT FINAL)
+ Q_PROPERTY(qreal keyboardAutoRepeatRateF READ keyboardAutoRepeatRateF STORED false CONSTANT FINAL)
Q_PROPERTY(int keyboardInputInterval READ keyboardInputInterval
NOTIFY keyboardInputIntervalChanged FINAL)
Q_PROPERTY(int mouseDoubleClickInterval READ mouseDoubleClickInterval