diff -r 41300fa6a67c -r f7bc934e204c src/corelib/concurrent/qfuturewatcher.cpp --- a/src/corelib/concurrent/qfuturewatcher.cpp Tue Feb 02 00:43:10 2010 +0200 +++ b/src/corelib/concurrent/qfuturewatcher.cpp Wed Mar 31 11:06:36 2010 +0300 @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** @@ -499,6 +499,13 @@ /*! \fn void QFutureWatcher::setFuture(const QFuture &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 QFutureWatcher::future() const