1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 01:24:11 +02:00
This commit is contained in:
Hugo Lindström
2012-07-16 01:18:23 +02:00
parent d1f6a50e30
commit 5be300bd62
2 changed files with 21 additions and 19 deletions

View File

@@ -511,6 +511,7 @@ SpotifyAccount::aboutToShow( QAction* action, const playlist_ptr& playlist )
}else
action->setVisible( false );
}
}
void
@@ -1327,6 +1328,7 @@ SpotifyAccount::createActions()
ActionCollection::instance()->addAction( ActionCollection::LocalPlaylists, subscribeAction, this );
subscribeAction->setData( "subscribe" );
m_customActions.append( subscribeAction );
}

View File

@@ -312,6 +312,7 @@ SpotifyParser::checkBrowseFinished()
m_creator,
false,
m_tracks );
connect( m_playlist.data(), SIGNAL( revisionLoaded( Tomahawk::PlaylistRevision ) ), this, SLOT( playlistCreated() ) );
if ( Accounts::SpotifyAccount::instance() != 0 )
@@ -334,7 +335,6 @@ SpotifyParser::checkBrowseFinished()
}
return;
}
else if ( m_single && !m_tracks.isEmpty() )
emit track( m_tracks.first() );
else if ( !m_single && !m_tracks.isEmpty() )