Commit 41ddb966 authored by Kai Koehne's avatar Kai Koehne

QmlDesigner: Fix MetaInfoException on application exit

Don't (try to) initialize the static metainfo db on exit, just so
that you can delete it.
parent 7167066a
......@@ -570,7 +570,9 @@ MetaInfo MetaInfo::global()
*/
void MetaInfo::clearGlobal()
{
MetaInfo::global().m_p->clear();
if (s_global.m_p->m_isInitialized) {
s_global.m_p->clear();
}
}
void MetaInfo::setPluginPaths(const QStringList &paths)
......
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