summaryrefslogtreecommitdiffstats
path: root/logic/forge/ForgeVersionList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/forge/ForgeVersionList.cpp')
-rw-r--r--logic/forge/ForgeVersionList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/forge/ForgeVersionList.cpp b/logic/forge/ForgeVersionList.cpp
index 7f2176fd..a05ced99 100644
--- a/logic/forge/ForgeVersionList.cpp
+++ b/logic/forge/ForgeVersionList.cpp
@@ -424,7 +424,7 @@ void ForgeListLoadTask::listDownloaded()
void ForgeListLoadTask::listFailed()
{
- auto reply = listDownload->m_reply;
+ auto &reply = listDownload->m_reply;
if (reply)
{
qCritical() << "Getting forge version list failed: " << reply->errorString();
@@ -437,7 +437,7 @@ void ForgeListLoadTask::listFailed()
void ForgeListLoadTask::gradleListFailed()
{
- auto reply = gradleListDownload->m_reply;
+ auto &reply = gradleListDownload->m_reply;
if (reply)
{
qCritical() << "Getting forge version list failed: " << reply->errorString();