diff options
Diffstat (limited to 'libQtSpotify/qspotifyartistbrowse.cpp')
-rw-r--r-- | libQtSpotify/qspotifyartistbrowse.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libQtSpotify/qspotifyartistbrowse.cpp b/libQtSpotify/qspotifyartistbrowse.cpp index 7fe77c5..4a66fe9 100644 --- a/libQtSpotify/qspotifyartistbrowse.cpp +++ b/libQtSpotify/qspotifyartistbrowse.cpp @@ -5,22 +5,22 @@ ** Contact: Yoann Lopes (yoann.lopes@nokia.com) ** ** This file is part of the MeeSpot project. -** +** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: -** +** ** Redistributions of source code must retain the above copyright notice, ** this list of conditions and the following disclaimer. -** +** ** Redistributions in binary form must reproduce the above copyright ** notice, this list of conditions and the following disclaimer in the ** documentation and/or other materials provided with the distribution. -** +** ** Neither the name of Nokia Corporation and its Subsidiary(-ies) nor the names of its ** contributors may be used to endorse or promote products derived from ** this software without specific prior written permission. -** +** ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS @@ -103,7 +103,10 @@ void QSpotifyArtistBrowse::setArtist(QSpotifyArtist *artist) emit busyChanged(); QMutexLocker lock(&g_mutex); - m_sp_artistbrowse = sp_artistbrowse_create(QSpotifySession::instance()->spsession(), m_artist->spartist(), callback_artistbrowse_complete, 0); + m_sp_artistbrowse = sp_artistbrowse_create(QSpotifySession::instance()->spsession(), + m_artist->spartist(), + SP_ARTISTBROWSE_NO_TRACKS, + callback_artistbrowse_complete, 0); g_artistBrowseObjects.insert(m_sp_artistbrowse, this); m_topHitsSearch.setQuery(QString(QLatin1String("artist:\"%1\"")).arg(m_artist->name())); |