diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:11:10 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:11:10 +0100 |
commit | 3059f130114a542f9a28ac7b665cc844ee90b03d (patch) | |
tree | dc7a9b83ef090dee5489102c645b9ba36dd6eacc /launcher/minecraft/PackProfile_p.h | |
parent | 613b351f1342ac80f5699dbdb53b9ff5c1f1056f (diff) | |
download | PrismLauncher-3059f130114a542f9a28ac7b665cc844ee90b03d.tar.gz PrismLauncher-3059f130114a542f9a28ac7b665cc844ee90b03d.tar.bz2 PrismLauncher-3059f130114a542f9a28ac7b665cc844ee90b03d.zip |
refactor: drop migration for pre-component instances
Diffstat (limited to 'launcher/minecraft/PackProfile_p.h')
-rw-r--r-- | launcher/minecraft/PackProfile_p.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/launcher/minecraft/PackProfile_p.h b/launcher/minecraft/PackProfile_p.h index fce921bb..715e0460 100644 --- a/launcher/minecraft/PackProfile_p.h +++ b/launcher/minecraft/PackProfile_p.h @@ -18,18 +18,6 @@ struct PackProfileData // the launch profile (volatile, temporary thing created on demand) std::shared_ptr<LaunchProfile> m_profile; - // version information migrated from instance.cfg file. Single use on migration! - std::map<QString, QString> m_oldConfigVersions; - QString getOldConfigVersion(const QString& uid) const - { - const auto iter = m_oldConfigVersions.find(uid); - if(iter != m_oldConfigVersions.cend()) - { - return (*iter).second; - } - return QString(); - } - // persistent list of components and related machinery ComponentContainer components; ComponentIndex componentIndex; |