From c9b985eae36f7523e83d0de3293844124553e484 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 9 Jun 2024 19:24:01 +0300 Subject: [PATCH] QTimer: fix API docs related to QChronoTimer QChronoTimer is in Qt 6.8. Found in API review. Change-Id: I7f20958948cb635ccd1f4cef383aed810a188f12 Reviewed-by: Thiago Macieira (cherry picked from commit 25f2b7c32226fdabcb22fbf928bb0c058cd53022) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qtimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qtimer.cpp b/src/corelib/kernel/qtimer.cpp index 294369c1b33..8d3ea7865d6 100644 --- a/src/corelib/kernel/qtimer.cpp +++ b/src/corelib/kernel/qtimer.cpp @@ -74,7 +74,7 @@ QT_BEGIN_NAMESPACE more and more platforms, we expect that zero-millisecond QTimer objects will gradually be replaced by \l{QThread}s. - \note Since Qt 6.7 this class is superseded by \l{QChronoTimer}. + \note Since Qt 6.8 this class is superseded by \l{QChronoTimer}. The maximum interval QTimer supports is limited by the number of milliseconds that would fit in an \c int (which is around 24 days); whereas QChronoTimer stores its interval as \c std::chrono::nanoseconds