On Mon, 5 Nov 2018 at 20:32, Konstantin Shegunov <kshegu...@gmail.com> wrote: > > Hello, > Since we couldn't agree, I'd love to see some more opinions about this one.[1] > > Specifically: > 1) Is parenting to the application object a thing?
Never done it myself. But Q*Application is clearly marked as derived from QObject in the docs, so users can definitely expect it to behave the same as all other QObjects and clean up it's children properly. > 1.a) ... and should it be allowed (i.e. accepting the proposed change)? > 1.b) .. if not allowed, should we put a warning in the documentation that it > is wrong and shouldn't be done at all, or at least that it's discouraged. Either is OK I think, with preference for 1.a). Note: these are not mutually exclusive - we could have the patch integrated & a warning in the docs that this is not encouraged. Disclaimer: I'm not a reviewer, nor approver, barely a contributor even, so feel free to ignore my opinion. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development