1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-15 10:33:59 +02:00

fromAscii is removed in Qt5, use standard constructor here

This commit is contained in:
Uwe L. Korn
2013-07-26 16:06:42 +02:00
parent 0dd64c8e36
commit 72557b1f5d

View File

@@ -117,7 +117,7 @@ XmppSipPlugin::XmppSipPlugin( Account* account )
setupClientHelper();
m_client->registerPayload( new TomahawkXmppMessageFactory );
m_currentResource = QString::fromAscii( "tomahawk%1" ).arg( QString::number( qrand() % 10000 ) );
m_currentResource = QString( "tomahawk%1" ).arg( QString::number( qrand() % 10000 ) );
m_client->setResource( m_currentResource );
#ifndef ENABLE_HEADLESS