Move spotifyimages out of spotify support
This commit is contained in:
parent
4321ecf7d2
commit
647279a000
@ -301,6 +301,7 @@ set(SOURCES
|
||||
songinfo/songkickconcerts.cpp
|
||||
songinfo/songkickconcertwidget.cpp
|
||||
songinfo/songplaystats.cpp
|
||||
songinfo/spotifyimages.cpp
|
||||
songinfo/streamdiscoverer.cpp
|
||||
songinfo/taglyricsinfoprovider.cpp
|
||||
songinfo/ultimatelyricslyric.cpp
|
||||
@ -589,6 +590,7 @@ set(HEADERS
|
||||
songinfo/songkickconcerts.h
|
||||
songinfo/songkickconcertwidget.h
|
||||
songinfo/songplaystats.h
|
||||
songinfo/spotifyimages.h
|
||||
songinfo/streamdiscoverer.h
|
||||
songinfo/taglyricsinfoprovider.h
|
||||
songinfo/ultimatelyricslyric.h
|
||||
@ -838,13 +840,11 @@ optional_source(HAVE_SPOTIFY
|
||||
internet/spotify/spotifyservice.cpp
|
||||
internet/spotify/spotifysettingspage.cpp
|
||||
globalsearch/spotifysearchprovider.cpp
|
||||
songinfo/spotifyimages.cpp
|
||||
HEADERS
|
||||
globalsearch/spotifysearchprovider.h
|
||||
internet/spotify/spotifyserver.h
|
||||
internet/spotify/spotifyservice.h
|
||||
internet/spotify/spotifysettingspage.h
|
||||
songinfo/spotifyimages.h
|
||||
UI
|
||||
internet/spotify/spotifysettingspage.ui
|
||||
)
|
||||
|
@ -21,15 +21,11 @@
|
||||
#include "songinfo/songinfofetcher.h"
|
||||
#include "songinfo/songkickconcerts.h"
|
||||
#include "widgets/prettyimageview.h"
|
||||
#ifdef HAVE_SPOTIFY
|
||||
#include "songinfo/spotifyimages.h"
|
||||
#endif
|
||||
|
||||
ArtistInfoView::ArtistInfoView(QWidget* parent) : SongInfoBase(parent) {
|
||||
fetcher_->AddProvider(new SongkickConcerts);
|
||||
#ifdef HAVE_SPOTIFY
|
||||
fetcher_->AddProvider(new SpotifyImages);
|
||||
#endif
|
||||
fetcher_->AddProvider(new ArtistBiography);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user