mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix: Result of operation is garbage or undefined
This commit is contained in:
@@ -161,12 +161,14 @@ SpotifyParser::lookupSpotifyBrowse( const QString& link )
|
||||
|
||||
if ( m_browseUri.contains( "spotify:user" ) )
|
||||
type = DropJob::Playlist;
|
||||
if ( m_browseUri.contains( "spotify:artist" ) )
|
||||
else if ( m_browseUri.contains( "spotify:artist" ) )
|
||||
type = DropJob::Artist;
|
||||
if ( m_browseUri.contains( "spotify:album" ) )
|
||||
else if ( m_browseUri.contains( "spotify:album" ) )
|
||||
type = DropJob::Album;
|
||||
if ( m_browseUri.contains( "spotify:track" ) )
|
||||
else if ( m_browseUri.contains( "spotify:track" ) )
|
||||
type = DropJob::Track;
|
||||
else
|
||||
return; // Type not supported.
|
||||
|
||||
QUrl url;
|
||||
|
||||
|
Reference in New Issue
Block a user