aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-04 00:49:53 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-12 06:56:52 +0000
commit92d53a3bf425f89877f917e108f545a4623b726d (patch)
treec1133ad011f671301c50cdbafa55a4c84831f9df /tests
parentb2dac6c3bc157ab8c39fa837e107fc5cdbdc5289 (diff)
tst_applicationwindow: use immediate operation to avoid random crashes
tst_applicationwindow::implicitFill() pushes an item on the stack and the stack gets destructed right away. This seems to be too much for threaded animator jobs... Change-Id: I7b83059424e49d6ae6dbf7ddcafe88550dec03cd Task-number: QTBUG-49338 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/applicationwindow/data/fill.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/applicationwindow/data/fill.qml b/tests/auto/applicationwindow/data/fill.qml
index 6d4c92c9..2a9c7bad 100644
--- a/tests/auto/applicationwindow/data/fill.qml
+++ b/tests/auto/applicationwindow/data/fill.qml
@@ -49,7 +49,7 @@ ApplicationWindow {
property alias nextItem: nextItem
function pushNextItem() {
- stackView.push(nextItem);
+ stackView.push(nextItem, StackView.Immediate);
}
Rectangle {