1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

remove updater from settings when changing user

This commit is contained in:
Leo Franchi 2012-04-14 22:46:30 -04:00
parent a99b35e11b
commit 255cef8092

View File

@ -388,7 +388,8 @@ void
SpotifyAccount::clearUser()
{
foreach( SpotifyPlaylistUpdater* updater, m_updaters.values() )
updater->deleteLater();
updater->remove();
m_updaters.clear();
qDeleteAll( m_allSpotifyPlaylists );