Code review comment for lp:~nick-dedekind/unity8/sharedunitymenumodel

Revision history for this message
Albert Astals Cid (aacid) wrote :

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