diff options
author | Ezekiel Smith <ezekielsmith@protonmail.com> | 2022-02-26 01:54:15 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 01:54:15 +1100 |
commit | ccc27d1b7c8207580975122ad70f0f5687c4fffd (patch) | |
tree | a4400e377be735c4cf85f66e4a02e4f342f2f92f /launcher/minecraft/legacy/LegacyUpgradeTask.h | |
parent | 9e35560554eb089370ba487e5b6265b4bd8e739a (diff) | |
parent | 624ab25cd490833fa43743137918f7014c9fe376 (diff) | |
download | PrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.tar.gz PrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.tar.bz2 PrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.zip |
Merge pull request #192 from Scrumplex/refactor-remove-legacy-instances
Drop legacy instances
Diffstat (limited to 'launcher/minecraft/legacy/LegacyUpgradeTask.h')
-rw-r--r-- | launcher/minecraft/legacy/LegacyUpgradeTask.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/launcher/minecraft/legacy/LegacyUpgradeTask.h b/launcher/minecraft/legacy/LegacyUpgradeTask.h deleted file mode 100644 index 542e17b8..00000000 --- a/launcher/minecraft/legacy/LegacyUpgradeTask.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include "InstanceTask.h" -#include "net/NetJob.h" -#include <QUrl> -#include <QFuture> -#include <QFutureWatcher> -#include "settings/SettingsObject.h" -#include "BaseVersion.h" -#include "BaseInstance.h" - - -class LegacyUpgradeTask : public InstanceTask -{ - Q_OBJECT -public: - explicit LegacyUpgradeTask(InstancePtr origInstance); - -protected: - //! Entry point for tasks. - virtual void executeTask() override; - void copyFinished(); - void copyAborted(); - -private: /* data */ - InstancePtr m_origInstance; - QFuture<bool> m_copyFuture; - QFutureWatcher<bool> m_copyFutureWatcher; -}; |