Il 16/08/19 11:02, Mutz, Marc via Development ha scritto:
It seems that the presence of QWeakPointer::data() in the past has given many Qt developers the wrong impression and they're now fighting hard to keep that impression intact when porting away from deprecated data().
Many thanks for dealing with the fallout of this deprecation!Indeed, the important message here is that QWeakPointer is not supposed to be treated like a raw pointer; std::weak_ptr is lacking data()/get() for the same reason, although implementing it costs nothing.
-- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development