[Interest] QObject::dumpObjectTree() & const

Thiago Macieira thiago.macieira at intel.com
Mon Oct 3 20:56:25 CEST 2016


On segunda-feira, 3 de outubro de 2016 14:31:06 CEST Giuseppe D'Angelo wrote:
> Il 03/10/2016 13:18, Thiago Macieira ha scritto:
> > Because they don't need to be. You can call any function from the
> > debugger,
> > regardless of actual constness of the object.
> > 
> > They were designed to be called from the debugger itself, never by your
> > code.
> Come on, that's not a justification for being sloppy in our APIs...
> 
> => https://codereview.qt-project.org/172657

Approved.

Anyway, he asked for the reason why they are like that...

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list