mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Dont rely on valid sipinfos in diagnostics dialog
This commit is contained in:
@@ -123,6 +123,11 @@ void DiagnosticsDialog::updateLogView()
|
|||||||
}
|
}
|
||||||
|
|
||||||
SipInfo sipInfo = SipHandler::instance()->sipInfo( peerId );
|
SipInfo sipInfo = SipHandler::instance()->sipInfo( peerId );
|
||||||
|
if( !sipInfo.isValid() )
|
||||||
|
{
|
||||||
|
qDebug() << Q_FUNC_INFO << "SipInfo invalid for " << peerId;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if( sipInfo.isVisible() )
|
if( sipInfo.isVisible() )
|
||||||
log.append(
|
log.append(
|
||||||
QString(" %1: %2:%3 (%4)\n")
|
QString(" %1: %2:%3 (%4)\n")
|
||||||
|
Reference in New Issue
Block a user