summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-06-23 14:34:40 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-06-23 21:00:12 +0200
commit36effb230418427b48c9ac8d144eb102018a5291 (patch)
treed0cf55017a678df62ddbb3e297cd8769a1a3eeea /src/corelib/kernel/qobject.cpp
parentf6a0c8cf94bf1c7f67ec2e7c7f298e0034c8483f (diff)
[docs] QObject: mention the return value change in 6.7
We should document it when the signature of a function changes, incl. its return type. Add the usual sentence. Amends e752c77b35185fa51cdc3684329a9733abe2be3b. Pick-to: 6.10 6.9 6.8 Change-Id: I694e20dec95572a128501ffc8c6e759781b4ce83 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r--src/corelib/kernel/qobject.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 8d133a24ee1..0d2ec8efd7a 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -1629,6 +1629,8 @@ QThread *QObject::thread() const
however: objects with no thread affinity can be "pulled" to the
current thread.
+ In Qt versions prior to 6.7, this function had no return value (\c void).
+
\sa thread()
*/
bool QObject::moveToThread(QThread *targetThread QT6_IMPL_NEW_OVERLOAD_TAIL)