mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Add consistent display of artist before song title in Adium Plugin. Fixes TWK-225.
This commit is contained in:
@@ -152,9 +152,9 @@ AdiumPlugin::audioStarted( const QVariant &input )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
QString nowPlaying = "";
|
QString nowPlaying = "";
|
||||||
nowPlaying.append( hash["title"] );
|
|
||||||
nowPlaying.append(" - ");
|
|
||||||
nowPlaying.append( hash["artist"] );
|
nowPlaying.append( hash["artist"] );
|
||||||
|
nowPlaying.append(" - ");
|
||||||
|
nowPlaying.append( hash["title"] );
|
||||||
nowPlaying.append( " " );
|
nowPlaying.append( " " );
|
||||||
// Escape quotes, or Applescript gets confused
|
// Escape quotes, or Applescript gets confused
|
||||||
nowPlaying.replace( "\"", "\\\"" );
|
nowPlaying.replace( "\"", "\\\"" );
|
||||||
|
Reference in New Issue
Block a user