aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/PackProfile_p.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:11:10 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:11:10 +0100
commit3059f130114a542f9a28ac7b665cc844ee90b03d (patch)
treedc7a9b83ef090dee5489102c645b9ba36dd6eacc /launcher/minecraft/PackProfile_p.h
parent613b351f1342ac80f5699dbdb53b9ff5c1f1056f (diff)
downloadPrismLauncher-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.h12
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;