diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-22 20:01:39 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-12 20:27:13 +0100 |
commit | ddfb449b28fb24f1c3e4ed3802ee4415206f96f1 (patch) | |
tree | 60bcee555c17ae837054112cd4d24678205fa81a /launcher | |
parent | 64576f4c4c6c41ba4528a00a38242955079f52ec (diff) | |
download | PrismLauncher-ddfb449b28fb24f1c3e4ed3802ee4415206f96f1.tar.gz PrismLauncher-ddfb449b28fb24f1c3e4ed3802ee4415206f96f1.tar.bz2 PrismLauncher-ddfb449b28fb24f1c3e4ed3802ee4415206f96f1.zip |
fix: remove PolyMC data paths
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/Application.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 45cd9422..e2fdcd63 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -301,22 +301,6 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) dataPath = foo.absolutePath(); adjustedBy = "Persistent data path"; - QDir polymcData(FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation), "PolyMC")); - if (polymcData.exists()) { - dataPath = polymcData.absolutePath(); - adjustedBy = "PolyMC data path"; - } - -#ifdef Q_OS_LINUX - // TODO: this should be removed in a future version - // TODO: provide a migration path similar to macOS migration - QDir bar(FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation), "polymc")); - if (bar.exists()) { - dataPath = bar.absolutePath(); - adjustedBy = "Legacy data path"; - } -#endif - #ifndef Q_OS_MACOS if (QFile::exists(FS::PathCombine(m_rootPath, "portable.txt"))) { dataPath = m_rootPath; |