Since your qHash Funktion returns an "uint" copy, i think the hash holds its old adresses. you can test it:
Qt Code:
QHashIterator<QPointer<MyObject>, SomeObject*> i(hash); while (i.hasNext()) { i.next(); cout << i.key() << ": " << i.value() << endl; }To copy to clipboard, switch view to plain text mode
Bookmarks