Commit 3b6d2043 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

QML: prevent nullptr deref by returning when we detected an error.



Change-Id: I46d351e517d575bff158a4c9e785645462023ae9
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 656b9f73
......@@ -118,8 +118,10 @@ private slots:
}
}
if (m_failed)
if (m_failed) {
qWarning("%s", qPrintable(errorMessage));
return;
}
// update qmldump path for all the project
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment