1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Don't assert on qDebug( SipInfo() )

This commit is contained in:
Dominik Schmidt
2011-05-09 01:01:01 +02:00
parent 733e06b372
commit 9cd07349dc

View File

@@ -218,6 +218,10 @@ SipInfo::fromJson( QString json )
QDebug operator<< ( QDebug dbg, const SipInfo& info ) QDebug operator<< ( QDebug dbg, const SipInfo& info )
{ {
if( !isValid() )
dbg.nospace() << "info is invalid";
else
dbg.nospace() << info.toJson(); dbg.nospace() << info.toJson();
return dbg.maybeSpace(); return dbg.maybeSpace();
} }