Skip to content
  • Vlad Zahorodnii's avatar
    Use universal helper for writing toplevels to QDebug streams · 90b53f41
    Vlad Zahorodnii authored
    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.
    90b53f41