diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-11-25 00:46:52 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-11-25 00:46:52 +0100 |
commit | 088b039cf7de6b217a289499a8efe5a47e861829 (patch) | |
tree | 7fe8861cc33e5bf3ca9a0347b04604a9f9883d81 /logic/LegacyUpdate.h | |
parent | 82225a21e1b7f1671a42c1511032c59ecda0503f (diff) | |
download | MultiMC-088b039cf7de6b217a289499a8efe5a47e861829.tar MultiMC-088b039cf7de6b217a289499a8efe5a47e861829.tar.gz MultiMC-088b039cf7de6b217a289499a8efe5a47e861829.tar.lz MultiMC-088b039cf7de6b217a289499a8efe5a47e861829.tar.xz MultiMC-088b039cf7de6b217a289499a8efe5a47e861829.zip |
Detect java bitness on launch, use appropriate libraries
Fixes problems with latest snapshot
Diffstat (limited to 'logic/LegacyUpdate.h')
-rw-r--r-- | logic/LegacyUpdate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logic/LegacyUpdate.h b/logic/LegacyUpdate.h index 8ffdb0f0..d753197f 100644 --- a/logic/LegacyUpdate.h +++ b/logic/LegacyUpdate.h @@ -31,7 +31,7 @@ class LegacyUpdate : public Task { Q_OBJECT public: - explicit LegacyUpdate(BaseInstance *inst, QObject *parent = 0); + explicit LegacyUpdate(BaseInstance *inst, bool prepare_for_launch, QObject *parent = 0); virtual void executeTask(); private @@ -71,5 +71,6 @@ private: private: NetJobPtr legacyDownloadJob; - BaseInstance *m_inst; + BaseInstance *m_inst = nullptr; + bool m_prepare_for_launch = false; }; |