summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-19 10:22:02 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2012-09-19 11:27:39 +0200
commit6e0cfe39b109719a5cc8af81144e9427787f9e50 (patch)
tree1dadc07495ac85979351d03ead7e90b2b69a0491 /tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
parent78f80caf95c2a7bd3f6a0ad2e42ad87e07c3abdd (diff)
downloadqt-creator-6e0cfe39b109719a5cc8af81144e9427787f9e50.tar.gz
Tests.QmlDesigner: NodeInstanceView has to run in TestModus
Change-Id: I3f0710050c3010f74e6b9c67dec463b9f9e96625 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp')
-rw-r--r--tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
index fabc03dd42..21ebbe888e 100644
--- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
+++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
@@ -5534,7 +5534,7 @@ void tst_TestCore::testInstancesAttachToExistingModel()
// Attach NodeInstanceView
- QScopedPointer<NodeInstanceView> instanceView(new NodeInstanceView);
+ QScopedPointer<NodeInstanceView> instanceView(new NodeInstanceView(0, NodeInstanceServerInterface::TestModus));
QVERIFY(instanceView.data());
model->attachView(instanceView.data());