From 8b0c5c4eeec7210b248de41eb848b1d168d0002e Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 29 Mar 2013 23:22:50 +0100 Subject: [PATCH] Add markup to the first notification line to overcome problems with KNotify. --- src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp index 9816590c9..67c9028a0 100644 --- a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp +++ b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp @@ -197,6 +197,9 @@ FdoNotifyPlugin::nowPlaying( const QVariant& input ) .arg( Qt::escape( hash[ "artist" ] ) ) .arg( album ) .arg( QString( "\n%1" ).arg( tr( "by", "preposition to link track and artist" ) ) ); + + // Dirty hack(TM) so that KNotify/QLabel recognizes the message as Rich Text + messageText = QString( "%1" ).arg( messageText ); } else {