From 62a1c1351f534f5c3e8273194cab257dccbd2fd6 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 16 Jul 2013 17:07:08 +0200 Subject: [PATCH] Do not use TomahawkSettings in (Dynamic)Playlist --- src/libtomahawk/accounts/spotify/SpotifyAccount.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp index 3d481ee00..7abba49ef 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp @@ -1521,7 +1521,9 @@ SpotifyAccount::stopPlaylistSync( SpotifyPlaylistInfo* playlist, bool forceDontD playlist_ptr tomahawkPl = updater->playlist(); if ( !tomahawkPl.isNull() ) - Playlist::remove( tomahawkPl ); + { + Playlist::removalHandler()->remove( tomahawkPl ); + } updater->deleteLater();