From 37e3bedbe46815b8092caf4c561bc28cd4e1394a Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 23 Oct 2013 18:02:03 +0200 Subject: [PATCH] QmlJS: Fix autotest. Change-Id: I0f7aba021fd4893fb521251c9b4b9572c2beef44 Reviewed-by: Fawzi Mohamed --- tests/auto/qml/codemodel/check/tst_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qml/codemodel/check/tst_check.cpp b/tests/auto/qml/codemodel/check/tst_check.cpp index a2bdefba585..f4da84c6524 100644 --- a/tests/auto/qml/codemodel/check/tst_check.cpp +++ b/tests/auto/qml/codemodel/check/tst_check.cpp @@ -111,7 +111,7 @@ void tst_Check::test() QFETCH(QString, path); Snapshot snapshot; - Document::MutablePtr doc = Document::create(path, Document::QmlLanguage); + Document::MutablePtr doc = Document::create(path, Language::Qml); QFile file(doc->fileName()); file.open(QFile::ReadOnly | QFile::Text); doc->setSource(file.readAll());