forked from qt-creator/qt-creator
Qt4Project: Notify the QmlJS code model even without QML files.
Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -582,9 +582,6 @@ void Qt4Project::updateCppCodeModel()
|
|||||||
|
|
||||||
void Qt4Project::updateQmlJSCodeModel()
|
void Qt4Project::updateQmlJSCodeModel()
|
||||||
{
|
{
|
||||||
if (m_projectFiles->files[QMLType].isEmpty())
|
|
||||||
return;
|
|
||||||
|
|
||||||
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
|
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
|
||||||
if (!modelManager)
|
if (!modelManager)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user