diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-02-09 05:04:23 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-02-09 05:04:23 +0100 |
commit | 13a7f8d3b7b7d92387099141fad81ca74adedf1d (patch) | |
tree | 5d8b11759a521c1ca9e348732b1fb62e9c18d999 /api/logic/modplatform/legacy_ftb | |
parent | 434369ca7cc8e56181d75474ac099eba76f407dc (diff) | |
download | PrismLauncher-13a7f8d3b7b7d92387099141fad81ca74adedf1d.tar.gz PrismLauncher-13a7f8d3b7b7d92387099141fad81ca74adedf1d.tar.bz2 PrismLauncher-13a7f8d3b7b7d92387099141fad81ca74adedf1d.zip |
NOISSUE fix multiple issues in ATLauncher integration
Diffstat (limited to 'api/logic/modplatform/legacy_ftb')
-rw-r--r-- | api/logic/modplatform/legacy_ftb/PackInstallTask.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/api/logic/modplatform/legacy_ftb/PackInstallTask.h b/api/logic/modplatform/legacy_ftb/PackInstallTask.h index 1eec1880..7868d1c4 100644 --- a/api/logic/modplatform/legacy_ftb/PackInstallTask.h +++ b/api/logic/modplatform/legacy_ftb/PackInstallTask.h @@ -8,6 +8,8 @@ #include "meta/VersionList.h" #include "PackHelpers.h" +#include <nonstd/optional> + namespace LegacyFTB { class MULTIMC_LOGIC_EXPORT PackInstallTask : public InstanceTask @@ -40,8 +42,8 @@ private slots: private: /* data */ bool abortable = false; std::unique_ptr<QuaZip> m_packZip; - QFuture<QStringList> m_extractFuture; - QFutureWatcher<QStringList> m_extractFutureWatcher; + QFuture<nonstd::optional<QStringList>> m_extractFuture; + QFutureWatcher<nonstd::optional<QStringList>> m_extractFutureWatcher; NetJobPtr netJobContainer; QString archivePath; |