mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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 );
|
||||
if( !sipInfo.isValid() )
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO << "SipInfo invalid for " << peerId;
|
||||
continue;
|
||||
}
|
||||
if( sipInfo.isVisible() )
|
||||
log.append(
|
||||
QString(" %1: %2:%3 (%4)\n")
|
||||
|
Reference in New Issue
Block a user