Qt4Project: Notify the QmlJS code model even without QML files.

Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-11-10 15:11:17 +01:00
parent 2b1fe08641
commit 9059dd86b1

View File

@@ -582,9 +582,6 @@ void Qt4Project::updateCppCodeModel()
void Qt4Project::updateQmlJSCodeModel()
{
if (m_projectFiles->files[QMLType].isEmpty())
return;
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
if (!modelManager)
return;