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