From 10462ee257bad84bf2c6c17a1eba963fa8655dd2 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 5 Jul 2012 13:39:12 -0400 Subject: [PATCH] Having this replace in there actually breaks notification for me. I'm guessing that this is notification-system dependent; however, we can't show & to people not using HTML-based notification renderers. The fix needs to lie with the notification renderer vendor. --- src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp index f38048300..c7e9aa982 100644 --- a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp +++ b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp @@ -109,7 +109,7 @@ FdoNotifyPlugin::notifyUser( const QString &messageText ) arguments << quint32( 0 ); //notification_id arguments << QString(); //app_icon arguments << QString( "Tomahawk" ); //summary - arguments << QString( messageText ).replace("&", "&"); //body + arguments << QString( messageText ); //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.replace("&", "&"); //body + arguments << messageText; //body arguments << QStringList(); //actions QVariantMap dict; dict["desktop-entry"] = QString( "tomahawk" );