Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Mar 30, 2013
Jump to file or symbol
Failed to load files and symbols.
+3 −0
Split
@@ -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
{