From 9569836668d4f92ee6664dc2074d9a863fa5cb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Mon, 7 Jul 2014 19:02:11 +0300 Subject: Document QApplication::cursorFlashTime() can return -1 On Windows QApplication::cursorFlashTime() can return -1 if keyboard blinking is disabled. Add documentation for that case. Change-Id: I1e5d683573e55b045e2d9bd9804daf4be579fd02 Reviewed-by: J-P Nurmi Reviewed-by: Giuseppe D'Angelo --- src/widgets/kernel/qapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 0b983e7a9d..520fc2db67 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -3648,6 +3648,9 @@ bool QApplication::keypadNavigationEnabled() We recommend that widgets do not cache this value as it may change at any time if the user changes the global desktop settings. + + \note This property may hold a negative value, for instance if cursor + blinking is disabled. */ void QApplication::setCursorFlashTime(int msecs) { -- cgit v1.2.3