Why aren't QObject::dumpObjectTree() and QObject::dumpObjectInfo() const?
Surely they shouldn't be modifying the state of the object.

I occasionally add them to my own debug dump() methods which are const
(ensures no modification is happening accidentally) and have to work around
this each time.

Obviously not a huge deal, just curious if anyone knows why that decision
was made.

Thanks!

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to