From 6f3aa65bd69f5155fa1ee56dee840e2e7e1d3c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 31 Jan 2015 16:59:03 +0100 Subject: NOISSUE Split MultiMC app object into MultiMC and Env --- logic/screenshots/ImgurAlbumCreation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logic/screenshots/ImgurAlbumCreation.cpp') diff --git a/logic/screenshots/ImgurAlbumCreation.cpp b/logic/screenshots/ImgurAlbumCreation.cpp index 91cf4bb1..86edd5a5 100644 --- a/logic/screenshots/ImgurAlbumCreation.cpp +++ b/logic/screenshots/ImgurAlbumCreation.cpp @@ -7,7 +7,7 @@ #include #include "logic/net/URLConstants.h" -#include "MultiMC.h" +#include "logic/Env.h" #include "logger/QsLog.h" ImgurAlbumCreation::ImgurAlbumCreation(QList screenshots) : NetAction(), m_screenshots(screenshots) @@ -33,7 +33,7 @@ void ImgurAlbumCreation::start() const QByteArray data = "ids=" + ids.join(',').toUtf8() + "&title=Minecraft%20Screenshots&privacy=hidden"; - auto worker = MMC->qnam(); + auto worker = ENV.qnam(); QNetworkReply *rep = worker->post(request, data); m_reply = std::shared_ptr(rep); -- cgit v1.2.3