Initialising a QWeakPointer from a raw pointer is deprecated.
I replaced QWeakPointer<QGraphicsItem> with QPointer<QObject> and added some casts (via toGraphicsItem()). Not very nice but it seems to work and I don't know whether the QWeakPointer was still necessary.
parent
a337996b
Please register or sign in to comment