From e0616dc889e9e70395d3ada9347406c877f8ad16 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Thu, 8 Jan 2015 12:57:07 +0100 Subject: use variable instead of anonymous "false" Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa Reviewed-by: Christian Stenger --- plugins/autotest/testcodeparser.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp index e2d342cb48..46cc75ad4b 100644 --- a/plugins/autotest/testcodeparser.cpp +++ b/plugins/autotest/testcodeparser.cpp @@ -249,8 +249,10 @@ static QList scanDirectoryForQuickTestQmlFiles(const QStri QFutureInterface future; QmlJS::PathsAndLanguages paths; paths.maybeInsert(Utils::FileName::fromString(srcDir), QmlJS::Dialect::Qml); - QmlJS::ModelManagerInterface::importScan(future, qmlJsMM->workingCopy(), - paths, qmlJsMM, false, false); + const bool dontEmitDocumentChanges = false; + const bool notOnlyTheLib = false; + QmlJS::ModelManagerInterface::importScan(future, qmlJsMM->workingCopy(), paths, qmlJsMM, + dontEmitDocumentChanges, notOnlyTheLib); const QmlJS::Snapshot snapshot = QmlJSTools::Internal::ModelManager::instance()->snapshot(); QDirIterator it(srcDir, QDir::Dirs | QDir::NoDotAndDotDot, QDirIterator::Subdirectories); -- cgit v1.2.1