aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/snippets')
-rw-r--r--tests/auto/snippets/tst_snippets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/snippets/tst_snippets.cpp b/tests/auto/snippets/tst_snippets.cpp
index cca85b0c..ab3a94bc 100644
--- a/tests/auto/snippets/tst_snippets.cpp
+++ b/tests/auto/snippets/tst_snippets.cpp
@@ -147,7 +147,7 @@ void tst_Snippets::screenshots()
QVERIFY(spy.wait());
QVERIFY(result->saveToFile(output));
- QGuiApplication::processEvents();
+ view.close();
}
void tst_Snippets::screenshots_data()