summaryrefslogtreecommitdiffstats
path: root/tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2022-11-10 22:42:28 +0200
committerTarja Sundqvist <tarja.sundqvist@qt.io>2022-11-10 22:42:28 +0200
commit9f0f50ebef04d5ac5ed0ee2a3a71e7748fce3005 (patch)
tree65dd1381f3af11a4dc88e6a1f73c0c52c356d902 /tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp
parent8e1a57efa1ba3eabbf44098ce6ede3d130c57b5d (diff)
parent1f3e19304416abf8a8473d0349aa04746b3a33b6 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.8' into tqtc/lts-5.15-opensourcev5.15.8-lts-lgpl
Diffstat (limited to 'tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp')
-rw-r--r--tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp b/tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp
index eb984c1a..c1039c85 100644
--- a/tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp
+++ b/tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp
@@ -274,8 +274,9 @@ void tst_proxy::multiMatch()
QSurface3DSeries *series = new QSurface3DSeries(m_proxy);
graph.addSeries(series);
+ QSignalSpy spy(graph.axisY(), SIGNAL(maxChanged(float)));
+ spy.wait(1000);
- QCoreApplication::processEvents();
QCOMPARE(graph.axisY()->max(), 10.5f);
m_proxy->setMultiMatchBehavior(QItemModelSurfaceDataProxy::MMBFirst);
QCoreApplication::processEvents();