mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +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( hash["artist"] );
|
||||
nowPlaying.append( " " );
|
||||
// Escape quotes, or Applescript gets confused
|
||||
nowPlaying.replace( "\"", "\\\"" );
|
||||
nowPlaying.append( openLinkFromHash( hash ).toEncoded() );
|
||||
qDebug() << "nowPlaying: " << nowPlaying;
|
||||
setStatus( nowPlaying );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user