aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/codemodel/check/tst_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/codemodel/check/tst_check.cpp')
-rw-r--r--tests/auto/qml/codemodel/check/tst_check.cpp2
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 56ccdfd2a3..befb363ae4 100644
--- a/tests/auto/qml/codemodel/check/tst_check.cpp
+++ b/tests/auto/qml/codemodel/check/tst_check.cpp
@@ -73,7 +73,7 @@ void tst_Check::initTestCase()
ModelManagerInterface *modelManager = ModelManagerInterface::instance();
PathsAndLanguages lPaths;
- QStringList paths(QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath));
+ QStringList paths(QLibraryInfo::path(QLibraryInfo::Qml2ImportsPath));
for (auto p: paths)
lPaths.maybeInsert(Utils::FilePath::fromString(p), Dialect::Qml);
ModelManagerInterface::importScan(ModelManagerInterface::workingCopy(), lPaths,