Commit 3c582a77 authored by Jörg Schummer's avatar Jörg Schummer Committed by Kai Koehne
Browse files

QmlDesigner.ItemLibrary: workaround: delete resource view before its model

This might stop random crashes when closing QmlDesigner.

Task-number: BAUHAUS-510
parent a2cb7ceb
......@@ -222,6 +222,7 @@ ItemLibrary::~ItemLibrary()
/* workaround: delete the items view before the model is deleted.
This prevents qml warnings when the item library is destructed. */
delete m_d->m_itemsView;
delete m_d->m_resourcesView;
delete m_d;
}
......
Supports Markdown
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