On Thu, 6 Nov 2025 at 16:39, Volker Hilsheimer <[email protected]> wrote: > As the mailing list doesn’t make for a great code review experience: > https://codereview.qt-project.org/c/qt/qtbase/+/689322 > > Good catch with QWindow (and possibly other types for which we explictly > overload setParent to require something else than QObject *); QGraphicsItem > is not a QObject.
I know that QGraphicsItem is not a QObjct, but previous descriptions of this function also didn't SFINAE away QObject-*non*-derivates. :D -- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
