mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
Initial syncstate removal on userchange
This commit is contained in:
parent
332e9c0448
commit
78a8c3cfc4
@ -355,6 +355,17 @@ SpotifyAccount::resolverMessage( const QString &msgType, const QVariantMap &msg
|
||||
else
|
||||
JobStatusView::instance()->model()->addJob( new ErrorStatusMessage( QString( "Spotify: %1" ).arg( error ) ) );
|
||||
}
|
||||
else if( msgType == "userChanged" )
|
||||
{
|
||||
const QString rmsg = msg.value( "msg" ).toString();
|
||||
//const QString olduser = msg.value( "oldUser" ).toString();
|
||||
//const QString newuser = msg.value( "newUser" ).toString();
|
||||
if( rmsg.isEmpty() )
|
||||
return;
|
||||
/// @todo: actually remove sync states for old user....
|
||||
|
||||
JobStatusView::instance()->model()->addJob( new ErrorStatusMessage( QString( "Spotify: %1" ).arg( rmsg ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user