diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-11-09 14:29:43 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-11-09 14:31:36 +0100 |
commit | c6b688d4e62f8afcd5f42e6a19034ee8653cdb63 (patch) | |
tree | d76892d90af098a02d90b85e696d9c0f3f81e4b3 /src/plugins/qt4projectmanager | |
parent | c0da255a875be0c9cf02b182e6fe26ff63546733 (diff) | |
download | qt-creator-c6b688d4e62f8afcd5f42e6a19034ee8653cdb63.tar.gz |
QmlJS: Fix code model update when project filelist changes.
Task-number: QTCREATORBUG-2986
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/plugins/qt4projectmanager')
-rw-r--r-- | src/plugins/qt4projectmanager/qt4project.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp index 293b8348a1..57e63e1578 100644 --- a/src/plugins/qt4projectmanager/qt4project.cpp +++ b/src/plugins/qt4projectmanager/qt4project.cpp @@ -590,9 +590,7 @@ void Qt4Project::updateQmlJSCodeModel() return; QmlJS::ModelManagerInterface::ProjectInfo projectInfo = modelManager->projectInfo(this); - - // Not essential since the QmlJS engine parses required files on demand. - //projectInfo.sourceFiles = ... + projectInfo.sourceFiles = m_projectFiles->files[QMLType]; FindQt4ProFiles findQt4ProFiles; QList<Qt4ProFileNode *> proFiles = findQt4ProFiles(rootProjectNode()); |