forked from qt-creator/qt-creator
use variable instead of anonymous "false"
Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user