mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
style fix
This commit is contained in:
parent
ec85e91825
commit
e3f5d1ade6
@ -904,12 +904,12 @@ SpotifyAccount::resolverMessage( const QString &msgType, const QVariantMap &msg
|
||||
}
|
||||
else if ( msgType == "starredChanged" )
|
||||
{
|
||||
if( loveSync() )
|
||||
if ( loveSync() )
|
||||
{
|
||||
const QVariantList tracksList = msg.value( "tracks" ).toList();
|
||||
const bool love = msg.value( "starred" ).toBool();
|
||||
QList<query_ptr> qs = SpotifyPlaylistUpdater::variantToQueries( tracksList );
|
||||
foreach( const query_ptr& query, qs )
|
||||
foreach ( const query_ptr& query, qs )
|
||||
{
|
||||
query->setLoved( love );
|
||||
}
|
||||
@ -1137,7 +1137,7 @@ SpotifyAccount::saveConfig()
|
||||
if ( pl->changed )
|
||||
{
|
||||
pl->changed = false;
|
||||
if( !pl->sync && pl->loveSync )
|
||||
if ( !pl->sync && pl->loveSync )
|
||||
{
|
||||
QVariantMap msg;
|
||||
msg[ "_msgtype" ] = "setSync";
|
||||
|
Loading…
x
Reference in New Issue
Block a user