mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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" ) )
|
if ( m_browseUri.contains( "spotify:user" ) )
|
||||||
type = DropJob::Playlist;
|
type = DropJob::Playlist;
|
||||||
if ( m_browseUri.contains( "spotify:artist" ) )
|
else if ( m_browseUri.contains( "spotify:artist" ) )
|
||||||
type = DropJob::Artist;
|
type = DropJob::Artist;
|
||||||
if ( m_browseUri.contains( "spotify:album" ) )
|
else if ( m_browseUri.contains( "spotify:album" ) )
|
||||||
type = DropJob::Album;
|
type = DropJob::Album;
|
||||||
if ( m_browseUri.contains( "spotify:track" ) )
|
else if ( m_browseUri.contains( "spotify:track" ) )
|
||||||
type = DropJob::Track;
|
type = DropJob::Track;
|
||||||
|
else
|
||||||
|
return; // Type not supported.
|
||||||
|
|
||||||
QUrl url;
|
QUrl url;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user