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:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user