aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.cpp')
-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()));
}