1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-26 09:33:01 +01:00

Fix Linux Minimal build.

This commit is contained in:
Andreas 2013-05-07 19:09:31 +02:00
parent 7406057e5f
commit e456ad679e

View File

@ -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() {