On terça-feira, 5 de março de 2013 10.11.21, Olivier Goffart wrote: > > Yes. > > No. > > If you do that, there is even a qWarning telling you there will be a race: > http://code.woboq.org/qt5/qtbase/src/corelib/thread/qfuturewatcher.cpp.html# > _ZN18QFutureWatcherBase13connectNotifyERK11QMetaMethod > > You should setup the connection before the future.
Fair enough. You can create the QFutureWatcher before the future. The code is even more clear that way. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
