mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-05 20:03:28 +01:00
Remove unused typedef
This commit is contained in:
parent
561fa66393
commit
afb583cff4
@ -55,7 +55,6 @@ bool DeezerCoverProvider::StartSearch(const QString &artist, const QString &albu
|
|||||||
typedef QPair<QString, QString> Param;
|
typedef QPair<QString, QString> Param;
|
||||||
typedef QList<Param> Params;
|
typedef QList<Param> Params;
|
||||||
typedef QPair<QByteArray, QByteArray> EncodedParam;
|
typedef QPair<QByteArray, QByteArray> EncodedParam;
|
||||||
typedef QList<EncodedParam> EncodedParamList;
|
|
||||||
|
|
||||||
const Params params = Params() << Param("output", "json")
|
const Params params = Params() << Param("output", "json")
|
||||||
<< Param("q", QString(artist + " " + album))
|
<< Param("q", QString(artist + " " + album))
|
||||||
|
@ -98,9 +98,7 @@ void DiscogsCoverProvider::SendSearchRequest(DiscogsCoverSearchContext *s_ctx) {
|
|||||||
|
|
||||||
typedef QPair<QString, QString> Arg;
|
typedef QPair<QString, QString> Arg;
|
||||||
typedef QList<Arg> ArgList;
|
typedef QList<Arg> ArgList;
|
||||||
|
|
||||||
typedef QPair<QByteArray, QByteArray> EncodedArg;
|
typedef QPair<QByteArray, QByteArray> EncodedArg;
|
||||||
typedef QList<EncodedArg> EncodedArgList;
|
|
||||||
|
|
||||||
ArgList args = ArgList()
|
ArgList args = ArgList()
|
||||||
<< Arg("key", QByteArray::fromBase64(kAccessKeyB64))
|
<< Arg("key", QByteArray::fromBase64(kAccessKeyB64))
|
||||||
@ -143,9 +141,7 @@ void DiscogsCoverProvider::SendReleaseRequest(DiscogsCoverSearchContext *s_ctx,
|
|||||||
|
|
||||||
typedef QPair<QString, QString> Arg;
|
typedef QPair<QString, QString> Arg;
|
||||||
typedef QList<Arg> ArgList;
|
typedef QList<Arg> ArgList;
|
||||||
|
|
||||||
typedef QPair<QByteArray, QByteArray> EncodedArg;
|
typedef QPair<QByteArray, QByteArray> EncodedArg;
|
||||||
typedef QList<EncodedArg> EncodedArgList;
|
|
||||||
|
|
||||||
QUrlQuery url_query;
|
QUrlQuery url_query;
|
||||||
QStringList query_items;
|
QStringList query_items;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user