Commit 7fee2d7a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Tests:QmlDesigner: fixing changeGradientId



Attaching a second RewriterView is not allowed.

Change-Id: I54055b36f86cd1cff0313edfd405c128c5783705
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 2f0f887a
......@@ -7844,7 +7844,7 @@ void tst_TestCore::changeGradientId()
textEdit.setPlainText(rectWithGradient);
NotIndentingTextEditModifier textModifier(&textEdit);
QScopedPointer<Model> model(createModel("QtQuick.Item", 1, 1));
QScopedPointer<Model> model(Model::create("QtQuick.Item", 1, 1));
QVERIFY(model.data());
QScopedPointer<TestRewriterView> testRewriterView(new TestRewriterView());
......
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