mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Fix: Result of operation is garbage or undefined
This commit is contained in:
parent
6011b2c973
commit
3e71fc7d37
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user