summaryrefslogtreecommitdiffstats
path: root/api/logic/trans/TranslationDownloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/trans/TranslationDownloader.h')
-rw-r--r--api/logic/trans/TranslationDownloader.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/api/logic/trans/TranslationDownloader.h b/api/logic/trans/TranslationDownloader.h
index e7893805..ad3a648d 100644
--- a/api/logic/trans/TranslationDownloader.h
+++ b/api/logic/trans/TranslationDownloader.h
@@ -6,8 +6,9 @@
#include <QObject>
#include <net/NetJob.h>
#include "multimc_logic_export.h"
-
-class ByteArrayDownload;
+namespace Net{
+class Download;
+}
class NetJob;
class MULTIMC_LOGIC_EXPORT TranslationDownloader : public QObject
@@ -26,7 +27,8 @@ private slots:
void dlGood();
private:
- std::shared_ptr<ByteArrayDownload> m_index_task;
+ std::shared_ptr<Net::Download> m_index_task;
NetJobPtr m_dl_job;
NetJobPtr m_index_job;
+ QByteArray m_data;
};