I am not still sure i totally understand how this can happen but then maybe we can turn
UnityMenuModelCache* UnityMenuModelCache::theCache = nullptr;
into QPointer<UnityMenuModelCache> UnityMenuModelCache::theCache;
and rely on QPointer magic set to 0 when QObjects are destroyed?
« Back to merge proposal
I am not still sure i totally understand how this can happen but then maybe we can turn
UnityMenuMode lCache* UnityMenuModelC ache::theCache = nullptr;
into UnityMenuModelC ache> UnityMenuModelC ache::theCache;
QPointer<
and rely on QPointer magic set to 0 when QObjects are destroyed?