From 413397c3c1af5d0b1ef29dfca03d1a0342820907 Mon Sep 17 00:00:00 2001 From: arthomnix Date: Mon, 6 Feb 2023 07:36:34 +0000 Subject: [PATCH] NOISSUE Fix build on Qt 5.4 again --- launcher/modplatform/modrinth/ModrinthHashLookupRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/modplatform/modrinth/ModrinthHashLookupRequest.cpp b/launcher/modplatform/modrinth/ModrinthHashLookupRequest.cpp index de7e3a79..4edb9128 100644 --- a/launcher/modplatform/modrinth/ModrinthHashLookupRequest.cpp +++ b/launcher/modplatform/modrinth/ModrinthHashLookupRequest.cpp @@ -43,7 +43,7 @@ void HashLookupRequest::startImpl() m_reply.reset(rep); connect(rep, &QNetworkReply::uploadProgress, this, &HashLookupRequest::downloadProgress); connect(rep, &QNetworkReply::finished, this, &HashLookupRequest::downloadFinished); - connect(rep, &QNetworkReply::errorOccurred, this, &HashLookupRequest::downloadError); + connect(rep, SIGNAL(error(QNetworkReply::NetworkError)), SLOT(downloadError(QNetworkReply::NetworkError))); } void HashLookupRequest::downloadError(QNetworkReply::NetworkError error)