From a6134533bec05791757d350dcfbd6c75e5d8db6a Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 17 Jul 2012 10:09:36 -0400 Subject: [PATCH] Only ask to delete synced non-subscribed playlists --- src/libtomahawk/accounts/spotify/SpotifyPlaylistUpdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/spotify/SpotifyPlaylistUpdater.cpp b/src/libtomahawk/accounts/spotify/SpotifyPlaylistUpdater.cpp index f05ab8563..c5866a08e 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyPlaylistUpdater.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyPlaylistUpdater.cpp @@ -132,7 +132,7 @@ SpotifyPlaylistUpdater::remove( bool askToDeletePlaylist ) void SpotifyPlaylistUpdater::aboutToDelete() { - if ( m_sync ) + if ( m_sync && !m_subscribed ) { if ( QThread::currentThread() != QApplication::instance()->thread() ) QMetaObject::invokeMethod( const_cast(this), "checkDeleteDialog", Qt::BlockingQueuedConnection );