diff options
author | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2015-01-08 12:57:07 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2015-01-09 14:19:45 +0200 |
commit | e0616dc889e9e70395d3ada9347406c877f8ad16 (patch) | |
tree | b1cd4d1565f9c9e7ddf1b5dfdbb9cfe6894d71b5 /plugins/autotest/testcodeparser.cpp | |
parent | 96205e28fe901abb714c1e9a05a02d0131f578cb (diff) | |
download | qt-creator-e0616dc889e9e70395d3ada9347406c877f8ad16.tar.gz |
use variable instead of anonymous "false"
Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/testcodeparser.cpp')
-rw-r--r-- | plugins/autotest/testcodeparser.cpp | 6 |
1 files 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<QmlJS::Document::Ptr> scanDirectoryForQuickTestQmlFiles(const QStri QFutureInterface<void> 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); |