Skip to content
Browse files

Merge pull request #179 from xhochy/fix/knotify-recognize-richtext

Add markup to the first notification line to overcome problems with KNotify.
  • Loading branch information...
2 parents f32803e + 8b0c5c4 commit a4689a185043804a4b814a82580ee417f887058b @muesli muesli committed Mar 30, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp
View
3 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 a4689a1

Please sign in to comment.
Something went wrong with that request. Please try again.