src/corelib/concurrent/qfuturewatcher.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
--- a/src/corelib/concurrent/qfuturewatcher.cpp	Fri Apr 16 15:50:13 2010 +0300
+++ b/src/corelib/concurrent/qfuturewatcher.cpp	Mon May 03 13:17:34 2010 +0300
@@ -499,6 +499,13 @@
 /*! \fn void QFutureWatcher::setFuture(const QFuture<T> &future)
 
     Starts watching the given \a future.
+
+    One of the signals might be emitted for the current state of the
+    \a future. For example, if the future is already stopped, the
+    finished signal will be emitted.
+
+    To avoid a race condition, it is important to call this function
+    \i after doing the connections.
 */
 
 /*! \fn QFuture<T> QFutureWatcher::future() const