1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

Fix runtime warnings

This commit is contained in:
Dominik Schmidt 2013-01-24 04:04:22 +01:00
parent 05ffd9c713
commit b01544c763

View File

@ -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;
}