mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 08:34:34 +02:00
Escape quotes, or Applescript gets confused.
This commit is contained in:
@@ -156,7 +156,10 @@ AdiumPlugin::audioStarted( const QVariant &input )
|
|||||||
nowPlaying.append(" - ");
|
nowPlaying.append(" - ");
|
||||||
nowPlaying.append( hash["artist"] );
|
nowPlaying.append( hash["artist"] );
|
||||||
nowPlaying.append( " " );
|
nowPlaying.append( " " );
|
||||||
|
// Escape quotes, or Applescript gets confused
|
||||||
|
nowPlaying.replace( "\"", "\\\"" );
|
||||||
nowPlaying.append( openLinkFromHash( hash ).toEncoded() );
|
nowPlaying.append( openLinkFromHash( hash ).toEncoded() );
|
||||||
|
qDebug() << "nowPlaying: " << nowPlaying;
|
||||||
setStatus( nowPlaying );
|
setStatus( nowPlaying );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user