diff options
-rw-r--r-- | src/websockets/qmaskgenerator.h | 2 | ||||
-rw-r--r-- | tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qmaskgenerator.h b/src/websockets/qmaskgenerator.h index a155340..4a13b1d 100644 --- a/src/websockets/qmaskgenerator.h +++ b/src/websockets/qmaskgenerator.h @@ -34,7 +34,7 @@ #ifndef QMASKGENERATOR_H #define QMASKGENERATOR_H -#include <QObject> +#include <QtCore/QObject> #include "QtWebSockets/qwebsockets_global.h" QT_BEGIN_NAMESPACE diff --git a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp index 9cef46a..3ac47c4 100644 --- a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp @@ -690,7 +690,7 @@ void tst_QWebSocket::tst_moveToThread() socket->asyncClose(); - QCOMPARE(timer.isActive(), false); + QTRY_COMPARE_WITH_TIMEOUT(loop.isRunning(), false, 200); QCOMPARE(socket->receivedMessage, textMessage); socket->deleteLater(); |