diff options
Diffstat (limited to 'lib/jobs')
-rw-r--r-- | lib/jobs/basejob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index ed630a67..252b8ea0 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -101,9 +101,9 @@ namespace QMatrixClient bool good() const { return code < ErrorLevel; } friend QDebug operator<<(QDebug dbg, const Status& s) { - QDebug(dbg).noquote().nospace() + QDebugStateSaver _s(dbg); + return dbg.noquote().nospace() << s.code << ": " << s.message; - return dbg; } int code; |