mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-16 10:38:53 +01:00
Remove some unneeded includes, etc
This commit is contained in:
parent
f44ce49ea7
commit
8566d91e89
@ -35,16 +35,12 @@
|
||||
#include <QtDebug>
|
||||
|
||||
#include "core/logging.h"
|
||||
#include "core/utilities.h"
|
||||
#include "core/network.h"
|
||||
#include "internet/localredirectserver.h"
|
||||
#include "jsonlyricsprovider.h"
|
||||
#include "lyricsfetcher.h"
|
||||
#include "lyricsprovider.h"
|
||||
#include "musixmatchlyricsprovider.h"
|
||||
|
||||
const char *MusixmatchLyricsProvider::kSettingsGroup = "MusixmatchLyrics";
|
||||
|
||||
MusixmatchLyricsProvider::MusixmatchLyricsProvider(QObject *parent) : JsonLyricsProvider("Musixmatch", true, false, parent), network_(new NetworkAccessManager(this)) {}
|
||||
|
||||
bool MusixmatchLyricsProvider::StartSearch(const QString &artist, const QString &album, const QString &title, const quint64 id) {
|
||||
|
@ -24,13 +24,8 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QObject>
|
||||
#include <QList>
|
||||
#include <QMap>
|
||||
#include <QVariant>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QUrl>
|
||||
#include <QJsonArray>
|
||||
|
||||
#include "jsonlyricsprovider.h"
|
||||
#include "lyricsfetcher.h"
|
||||
@ -53,9 +48,6 @@ class MusixmatchLyricsProvider : public JsonLyricsProvider {
|
||||
private slots:
|
||||
void HandleSearchReply(QNetworkReply *reply, const quint64 id, const QString &artist, const QString &album, const QString &title);
|
||||
|
||||
private:
|
||||
static const char *kSettingsGroup;
|
||||
|
||||
private:
|
||||
QNetworkAccessManager *network_;
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "core/iconloader.h"
|
||||
#include "core/logging.h"
|
||||
#include "lyrics/lyricsproviders.h"
|
||||
#include "lyrics/geniuslyricsprovider.h"
|
||||
#include "lyrics/lyricsprovider.h"
|
||||
#include "widgets/loginstatewidget.h"
|
||||
|
||||
const char *LyricsSettingsPage::kSettingsGroup = "Lyrics";
|
||||
|
Loading…
Reference in New Issue
Block a user