summaryrefslogtreecommitdiffstats
path: root/logic/forge/ForgeVersionList.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-20 17:18:53 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-20 17:18:53 +0200
commit125abf502769c2ef092a2f5516d303f0333ae802 (patch)
tree25af0ffea303f1e549ac1a298c03b6862b1b71a3 /logic/forge/ForgeVersionList.cpp
parent9ad99ac4816cb879ec9f1805e7b8d7d3774a9588 (diff)
downloadMultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.gz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.lz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.xz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.zip
NOISSUE rename QObjectPtr to shared_qobject_ptr, introduce unique_qobject_ptr, refactor MainWindow to match
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();