1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 21:54:00 +02:00

Only ask to delete synced non-subscribed playlists

This commit is contained in:
Leo Franchi
2012-07-17 10:09:36 -04:00
parent 9c0a3496a4
commit a6134533be

View File

@@ -132,7 +132,7 @@ SpotifyPlaylistUpdater::remove( bool askToDeletePlaylist )
void void
SpotifyPlaylistUpdater::aboutToDelete() SpotifyPlaylistUpdater::aboutToDelete()
{ {
if ( m_sync ) if ( m_sync && !m_subscribed )
{ {
if ( QThread::currentThread() != QApplication::instance()->thread() ) if ( QThread::currentThread() != QApplication::instance()->thread() )
QMetaObject::invokeMethod( const_cast<SpotifyPlaylistUpdater*>(this), "checkDeleteDialog", Qt::BlockingQueuedConnection ); QMetaObject::invokeMethod( const_cast<SpotifyPlaylistUpdater*>(this), "checkDeleteDialog", Qt::BlockingQueuedConnection );