mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-01 14:42:25 +02:00
FdoNotifyPlugin: Fixed showing notifications with & character
This commit is contained in:
parent
67e18c3b9d
commit
6e612fa9dd
@ -109,7 +109,7 @@ FdoNotifyPlugin::notifyUser( const QString &messageText )
|
||||
arguments << quint32( 0 ); //notification_id
|
||||
arguments << QString(); //app_icon
|
||||
arguments << QString( "Tomahawk" ); //summary
|
||||
arguments << messageText; //body
|
||||
arguments << messageText.replace("&", "&"); //body
|
||||
arguments << QStringList(); //actions
|
||||
QVariantMap dict;
|
||||
dict["desktop-entry"] = QString( "tomahawk" );
|
||||
@ -150,7 +150,7 @@ FdoNotifyPlugin::nowPlaying( const QVariant &input )
|
||||
arguments << m_nowPlayingId; //notification_id
|
||||
arguments << QString(); //app_icon
|
||||
arguments << QString( "Tomahawk" ); //summary
|
||||
arguments << messageText; //body
|
||||
arguments << messageText.replace("&", "&"); //body
|
||||
arguments << QStringList(); //actions
|
||||
QVariantMap dict;
|
||||
dict["desktop-entry"] = QString( "tomahawk" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user