Permalink
Browse files

Add markup to the first notification line to overcome problems with K…

…Notify.
  • Loading branch information...
1 parent da206ee commit 8b0c5c4eeec7210b248de41eb848b1d168d0002e @xhochy committed Mar 29, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 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<i>%1</i>" ).arg( tr( "by", "preposition to link track and artist" ) ) );
+
+ // Dirty hack(TM) so that KNotify/QLabel recognizes the message as Rich Text
+ messageText = QString( "<i></i>%1" ).arg( messageText );
}
else
{

0 comments on commit 8b0c5c4

Please sign in to comment.