Commit d79dde6d authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Increase flame graph view context menu test timeout

Apparently macOS will block the event loop until a real mouse click
happens if you open and close context menus in quick succession. When
it does that, the timer won't hit anymore and the mouse event to trigger
the next test step won't be generated.

Change-Id: Ie0c05d8a5a2020fe46381358133cd7cdbbf42299
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <>
parent 6e8ee747
......@@ -122,7 +122,7 @@ void FlameGraphViewTest::testContextMenu()
QSignalSpy spy(&view, SIGNAL(showFullRange()));
QTimer timer;
int menuClicks = 0;
connect(&timer, &QTimer::timeout, this, [&]() {
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