Commit b374270e authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Don't open the mode popup when testing flamegraph

On macOS funnny things happen if two popups are open at the same time.

Change-Id: Ic83d9e93184fd3f6a5f7e1a8d497da805eeeb6c6
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 67b176b7
......@@ -70,7 +70,7 @@ void FlameGraphViewTest::testSelection()
QCOMPARE(spy.count(), 1);
// Click in empty area shouldn't change anything, either
QTest::mouseClick(view.childAt(250, 250), Qt::LeftButton, Qt::NoModifier, QPoint(495, 5));
QTest::mouseClick(view.childAt(250, 250), Qt::LeftButton, Qt::NoModifier, QPoint(495, 50));
QCOMPARE(spy.count(), 1);
view.onVisibleFeaturesChanged(1 << ProfileBinding);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment