aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2017-03-07 15:49:02 +0100
committerChristian Stenger <[email protected]>2017-03-08 08:57:34 +0000
commit05e8f34d3eb22030b10190397cdc1e1e080d6267 (patch)
treef085403271d816362b9bc8dbdd62b9c13a367d54 /src/libs/qmljs/qmljsmodelmanagerinterface.h
parent179b845acb6da0bb22e689110977b86675dee533 (diff)
QmlJS: Allow forced rescan on already known paths
Qml files used by Quick tests are not necessarily added to the project file and therefore not fully handled by the QmlJS code model / snapshot. When adding qml files to a directory that is handled by the code model these folders are not scanned again - we need to enforce such a scan on AutoTest plugin's side. Task-number: QTCREATORBUG-17805 Change-Id: Ie3d071a9aa03297d618648b06d52fb298c856d25 Reviewed-by: Marco Benelli <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h
index b602ebb1169..193bd5b2d35 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.h
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h
@@ -205,7 +205,7 @@ public:
WorkingCopy workingCopyInternal,
PathsAndLanguages paths,
ModelManagerInterface *modelManager,
- bool emitDocChangedOnDisk, bool libOnly = true);
+ bool emitDocChangedOnDisk, bool libOnly = true, bool forceRescan = false);
virtual void resetCodeModel();
void removeProjectInfo(ProjectExplorer::Project *project);