Commit e0616dc8 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

use variable instead of anonymous "false"



Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 96205e28
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment