The Qt docs on QPointers don't specifically mention anything about thread safety. If used across multiple threads, do they somehow magically guarantee that the object doesn't get deleted between the check and the usage?
Qt Code:
if (p!=0) p->doSomething();To copy to clipboard, switch view to plain text mode
Looking at the source code it appears that they are not thread safe. True? If so, then I'll submit a sug to have the docs updated.
-RobF
Bookmarks