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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user