mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-25 17:12:35 +01:00
Fix Linux Minimal build.
This commit is contained in:
parent
7406057e5f
commit
e456ad679e
@ -22,11 +22,14 @@
|
||||
#include "core/logging.h"
|
||||
#include "engines/enginebase.h"
|
||||
#include "internet/internetmodel.h"
|
||||
#include "internet/lastfmservice.h"
|
||||
#include "playlist/playlistmanager.h"
|
||||
#include "playlist/playlistsequence.h"
|
||||
#include "playlist/playlist.h"
|
||||
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
# include "internet/lastfmservice.h"
|
||||
#endif
|
||||
|
||||
IncomingDataParser::IncomingDataParser(Application* app)
|
||||
:app_(app)
|
||||
{
|
||||
@ -72,10 +75,12 @@ IncomingDataParser::IncomingDataParser(Application* app)
|
||||
connect(this, SIGNAL(Close(int)),
|
||||
app_->playlist_manager(), SLOT(Close(int)));
|
||||
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
connect(this, SIGNAL(Love()),
|
||||
InternetModel::Service<LastFMService>(), SLOT(Love()));
|
||||
connect(this, SIGNAL(Ban()),
|
||||
InternetModel::Service<LastFMService>(), SLOT(Ban()));
|
||||
#endif
|
||||
}
|
||||
|
||||
IncomingDataParser::~IncomingDataParser() {
|
||||
|
Loading…
Reference in New Issue
Block a user