1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-29 08:40:40 +02:00

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

Add markup to the first notification line to overcome problems with KNotify.
This commit is contained in:
Christian Muehlhaeuser
2013-03-30 00:00:31 -07:00

View File

@@ -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
{