build fix for the case when QT_NO_QFUTURE is defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-26 18:31:22 +00:00
parent 56a540b648
commit ccd1355763

View file

@ -34,15 +34,16 @@
#include "qfuturewatcher.h"
#ifndef QT_NO_QFUTURE
#include <QtCore/qcoreevent.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qthread.h>
#include "qfuturewatcher_p.h"
# include <QtCore/qcoreevent.h>
# include <QtCore/qcoreapplication.h>
# include <QtCore/qthread.h>
# include "qfuturewatcher_p.h"
#endif
QT_BEGIN_NAMESPACE
#ifndef QT_NO_QFUTURE
/*! \class QFutureWatcher
\reentrant
\since 4.4
@ -579,8 +580,6 @@ void QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent *event)
*/
QT_END_NAMESPACE
#else
// On Symbian winscw target QT_NO_QFUTURE and QT_NO_CONCURRENT are both defined.
@ -598,4 +597,6 @@ void QFutureWatcherBase::disconnectNotify(const char *) { }
#endif // QT_NO_QFUTURE
QT_END_NAMESPACE
#include "moc_qfuturewatcher.h"