summaryrefslogtreecommitdiffstats
path: root/logic/screenshots/ImgurAlbumCreation.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-28 17:07:08 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-28 17:07:08 +0200
commite8731c5d013e67ee0153d5a49b38b0e914d14aa0 (patch)
treeab3611681ec35ea8f10aa7b9a7770c1356b3ef22 /logic/screenshots/ImgurAlbumCreation.cpp
parent30b1f5e5cf935689fc628e37016e650655153d00 (diff)
downloadMultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.gz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.lz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.xz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.zip
Turn screenshot management into a page.
Diffstat (limited to 'logic/screenshots/ImgurAlbumCreation.cpp')
-rw-r--r--logic/screenshots/ImgurAlbumCreation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/logic/screenshots/ImgurAlbumCreation.cpp b/logic/screenshots/ImgurAlbumCreation.cpp
index e473952e..1bf6c2a3 100644
--- a/logic/screenshots/ImgurAlbumCreation.cpp
+++ b/logic/screenshots/ImgurAlbumCreation.cpp
@@ -5,7 +5,6 @@
#include <QJsonObject>
#include <QUrl>
-#include "logic/screenshots//ScreenshotList.h"
#include "logic/net/URLConstants.h"
#include "MultiMC.h"
#include "logger/QsLog.h"
@@ -28,7 +27,7 @@ void ImgurAlbumCreation::start()
QStringList ids;
for (auto shot : m_screenshots)
{
- ids.append(shot->imgurId);
+ ids.append(shot->m_imgurId);
}
const QByteArray data = "ids=" + ids.join(',').toUtf8() + "&title=Minecraft%20Screenshots&privacy=hidden";