summaryrefslogtreecommitdiffstats
path: root/src/tools/testrunner/testrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/testrunner/testrunner.cpp')
-rw-r--r--src/tools/testrunner/testrunner.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/testrunner/testrunner.cpp b/src/tools/testrunner/testrunner.cpp
index 7402adad..d8837b01 100644
--- a/src/tools/testrunner/testrunner.cpp
+++ b/src/tools/testrunner/testrunner.cpp
@@ -43,6 +43,7 @@
#include "testrunner.h"
#include <QCoreApplication>
+#include <QAbstractEventDispatcher>
#include <QEventLoop>
#include <QQmlEngine>
#include <QRegExp>
@@ -130,6 +131,11 @@ int AmTest::observeObjectDestroyed(QObject *obj)
return index;
}
+void AmTest::aboutToBlock()
+{
+ emit QAbstractEventDispatcher::instance()->aboutToBlock();
+}
+
QTestRootObject::QTestRootObject(QObject *parent)
: QObject(parent)