From 9030c447f1e0f0cc390c4a3eafff20d60867955b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 28 Feb 2020 08:18:04 +0000 Subject: fixed latest Qt support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9255 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/scrobbler.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/plugins/General/scrobbler/scrobbler.cpp') 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())); } -- cgit v1.2.3-13-gbd6f