summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp b/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
index a969993ff..eacd1f87e 100644
--- a/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
+++ b/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
@@ -52,12 +52,19 @@
class TestView : public QQuickView {
Q_OBJECT
public:
+ TestView()
+ {
+ connect(this, &TestView::_q_exposeChanged, this, &TestView::exposeChanged,
+ Qt::QueuedConnection);
+ }
+
virtual void exposeEvent(QExposeEvent *e) Q_DECL_OVERRIDE {
QQuickView::exposeEvent(e);
- emit exposeChanged();
+ emit _q_exposeChanged();
}
Q_SIGNALS:
+ void _q_exposeChanged();
void exposeChanged();
};