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

Add markup to the first notification line to overcome problems with KNotify.

This commit is contained in:
Uwe L. Korn
2013-03-29 23:22:50 +01:00
parent da206ee3d9
commit 8b0c5c4eee

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
{