diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-10-23 18:02:03 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-10-24 11:00:30 +0200 |
commit | 37e3bedbe46815b8092caf4c561bc28cd4e1394a (patch) | |
tree | 078a3c31b11478f87c184871b8134b983042f806 | |
parent | 119548a0ffadee65fe6798cf4ed249b6cfcaab09 (diff) | |
download | qt-creator-37e3bedbe46815b8092caf4c561bc28cd4e1394a.tar.gz |
QmlJS: Fix autotest.
Change-Id: I0f7aba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
-rw-r--r-- | tests/auto/qml/codemodel/check/tst_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/codemodel/check/tst_check.cpp b/tests/auto/qml/codemodel/check/tst_check.cpp index a2bdefba58..f4da84c652 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()); |