Skip to content
Commit 90b53f41 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Use universal helper for writing toplevels to QDebug streams

Toplevel::debug() is one of annoyances that you need to deal with when
implementing a new client type. It can be tempting to just write "this"
to the stream, but it will result in a crash.

In order to make implementing new client types easier, this change
introduces a debug stream insertion operator overload that works for all
kinds of the Toplevel class.
parent 29afd62e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment