aboutsummaryrefslogtreecommitdiff
path: root/api/logic/modplatform/legacy_ftb/PackInstallTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/modplatform/legacy_ftb/PackInstallTask.h')
-rw-r--r--api/logic/modplatform/legacy_ftb/PackInstallTask.h6
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;