From 43806aec6255ac97be652526a6ec0ea65f783b98 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell <tomahawk@jefferai.org> Date: Tue, 10 Apr 2012 17:59:23 -0400 Subject: [PATCH] Remove album from love action --- src/accounts/twitter/twitterinfoplugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/accounts/twitter/twitterinfoplugin.cpp b/src/accounts/twitter/twitterinfoplugin.cpp index ae8fb373e..1de65a9ef 100644 --- a/src/accounts/twitter/twitterinfoplugin.cpp +++ b/src/accounts/twitter/twitterinfoplugin.cpp @@ -131,10 +131,9 @@ TwitterInfoPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData ) Tomahawk::InfoSystem::InfoStringHash info = pushInfoPair.second.value< Tomahawk::InfoSystem::InfoStringHash >(); - QString msg = tr( "Listening to \"%1\" by %2%3 and loving it! %4" ) + QString msg = tr( "Listening to \"%1\" by %2 and loving it! %3" ) .arg( info[ "title" ] ) .arg( info[ "artist" ] ) - .arg( info[ "album" ].isEmpty() ? QString() : QString( " %1" ).arg( tr( "on \"%1\"" ).arg( info[ "album" ] ) ) ) .arg( pushInfoPair.first.contains( "shorturl" ) ? pushInfoPair.first[ "shorturl" ].toUrl().toString() : GlobalActionManager::instance()->openLink( info[ "title" ], info[ "artist" ], info[ "album" ] ).toString() );