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/songkickconcerts.cpp
|
||||||
songinfo/songkickconcertwidget.cpp
|
songinfo/songkickconcertwidget.cpp
|
||||||
songinfo/songplaystats.cpp
|
songinfo/songplaystats.cpp
|
||||||
|
songinfo/spotifyimages.cpp
|
||||||
songinfo/streamdiscoverer.cpp
|
songinfo/streamdiscoverer.cpp
|
||||||
songinfo/taglyricsinfoprovider.cpp
|
songinfo/taglyricsinfoprovider.cpp
|
||||||
songinfo/ultimatelyricslyric.cpp
|
songinfo/ultimatelyricslyric.cpp
|
||||||
|
@ -589,6 +590,7 @@ set(HEADERS
|
||||||
songinfo/songkickconcerts.h
|
songinfo/songkickconcerts.h
|
||||||
songinfo/songkickconcertwidget.h
|
songinfo/songkickconcertwidget.h
|
||||||
songinfo/songplaystats.h
|
songinfo/songplaystats.h
|
||||||
|
songinfo/spotifyimages.h
|
||||||
songinfo/streamdiscoverer.h
|
songinfo/streamdiscoverer.h
|
||||||
songinfo/taglyricsinfoprovider.h
|
songinfo/taglyricsinfoprovider.h
|
||||||
songinfo/ultimatelyricslyric.h
|
songinfo/ultimatelyricslyric.h
|
||||||
|
@ -838,13 +840,11 @@ optional_source(HAVE_SPOTIFY
|
||||||
internet/spotify/spotifyservice.cpp
|
internet/spotify/spotifyservice.cpp
|
||||||
internet/spotify/spotifysettingspage.cpp
|
internet/spotify/spotifysettingspage.cpp
|
||||||
globalsearch/spotifysearchprovider.cpp
|
globalsearch/spotifysearchprovider.cpp
|
||||||
songinfo/spotifyimages.cpp
|
|
||||||
HEADERS
|
HEADERS
|
||||||
globalsearch/spotifysearchprovider.h
|
globalsearch/spotifysearchprovider.h
|
||||||
internet/spotify/spotifyserver.h
|
internet/spotify/spotifyserver.h
|
||||||
internet/spotify/spotifyservice.h
|
internet/spotify/spotifyservice.h
|
||||||
internet/spotify/spotifysettingspage.h
|
internet/spotify/spotifysettingspage.h
|
||||||
songinfo/spotifyimages.h
|
|
||||||
UI
|
UI
|
||||||
internet/spotify/spotifysettingspage.ui
|
internet/spotify/spotifysettingspage.ui
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,15 +21,11 @@
|
||||||
#include "songinfo/songinfofetcher.h"
|
#include "songinfo/songinfofetcher.h"
|
||||||
#include "songinfo/songkickconcerts.h"
|
#include "songinfo/songkickconcerts.h"
|
||||||
#include "widgets/prettyimageview.h"
|
#include "widgets/prettyimageview.h"
|
||||||
#ifdef HAVE_SPOTIFY
|
|
||||||
#include "songinfo/spotifyimages.h"
|
#include "songinfo/spotifyimages.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
ArtistInfoView::ArtistInfoView(QWidget* parent) : SongInfoBase(parent) {
|
ArtistInfoView::ArtistInfoView(QWidget* parent) : SongInfoBase(parent) {
|
||||||
fetcher_->AddProvider(new SongkickConcerts);
|
fetcher_->AddProvider(new SongkickConcerts);
|
||||||
#ifdef HAVE_SPOTIFY
|
|
||||||
fetcher_->AddProvider(new SpotifyImages);
|
fetcher_->AddProvider(new SpotifyImages);
|
||||||
#endif
|
|
||||||
fetcher_->AddProvider(new ArtistBiography);
|
fetcher_->AddProvider(new ArtistBiography);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue