Code review comment for lp:~dandrader/qtmir/improveSessionDebugLogging

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

On 01/06/2016 09:42, Nick Dedekind wrote:
>> +QDebug operator<<(QDebug dbg, const unityapp::MirSurfaceListInterface &surfaceListConst)
> I don't see this actually being used anywhere.
>
It is not. This is just a facility to help with debugging when you add
ad-hoc, temporary, qDebug() entries to investigate something.

So you can just do "qDebug() << someMirSurfaceList" and its contents
will be nicely printed.

Similar to what most Qt classes have (like QPoint, QRect etc).

« Back to merge proposal