mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Fix runtime warnings
This commit is contained in:
@@ -94,6 +94,10 @@ SipStatusMessage::mainText() const
|
||||
Q_ASSERT(false);
|
||||
}
|
||||
|
||||
return text.arg( m_contactId ).arg( m_message );
|
||||
text = text.arg( m_contactId );
|
||||
if(text.contains( "%2") )
|
||||
text = text.arg( m_message );
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user