aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-28 08:18:04 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-28 08:18:04 +0000
commit9030c447f1e0f0cc390c4a3eafff20d60867955b (patch)
treefe9ae8ff07b4b17772d333dedd5cb95c00119c18 /src/plugins/General/scrobbler
parent9ab5fef7ee91a788a9010b7f7fc64ded928201c2 (diff)
downloadqmmp-9030c447f1e0f0cc390c4a3eafff20d60867955b.tar.gz
qmmp-9030c447f1e0f0cc390c4a3eafff20d60867955b.tar.bz2
qmmp-9030c447f1e0f0cc390c4a3eafff20d60867955b.zip
fixed latest Qt support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9255 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.cpp b/src/plugins/General/scrobbler/scrobbler.cpp
index 4616c3951..61c60cdff 100644
--- a/src/plugins/General/scrobbler/scrobbler.cpp
+++ b/src/plugins/General/scrobbler/scrobbler.cpp
@@ -181,11 +181,7 @@ void Scrobbler::updateMetaData()
void Scrobbler::processResponse(QNetworkReply *reply)
{
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
- if (reply->networkError() != QNetworkReply::NoError)
-#else
if (reply->error() != QNetworkReply::NoError)
-#endif
{
qWarning("Scrobbler[%s]: http error: %s", qPrintable(m_name), qPrintable(reply->errorString()));
}
@@ -501,11 +497,7 @@ QString ScrobblerAuth::session() const
void ScrobblerAuth::processResponse(QNetworkReply *reply)
{
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
- if (reply->networkError() != QNetworkReply::NoError)
-#else
if (reply->error() != QNetworkReply::NoError)
-#endif
{
qWarning("ScrobblerAuth[%s]: http error: %s", qPrintable(m_name), qPrintable(reply->errorString()));
}