1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01: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 )
{
dbg.nospace() << info.toJson();
if( !isValid() )
dbg.nospace() << "info is invalid";
else
dbg.nospace() << info.toJson();
return dbg.maybeSpace();
}