On Thursday 30. July 2015 13:33:28 Tomasz Siekierda wrote: > Hi, > > just a quick observation: QNoDebug class can be used in code (compiles, > works fine), but there is no documentation for it. > > Is that intentional? Shouldn't it be either hidden (made private) or > documented? Although I have just learned about it's existence by accident, > it looks like it can be quite useful, so I vote for adding some docs.
It's a fake class that replaces QDebug when QT_NO_DEBUG_OUTPUT is defined. That way the code compiles but is optimized away. -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development