aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-05-04 22:35:16 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-05-04 22:35:16 +0300
commit8b14b946e248c327046777eb2ed494170452f108 (patch)
treeaa19e6bffe19775623ada24e38d724031480f40a /launcher/modplatform
parentf7b912fc9d804902a725fa903be8574e1e202f69 (diff)
parente4449a0ba32593b4fd76e3f2ced176e5b3bbd952 (diff)
downloadPrismLauncher-8b14b946e248c327046777eb2ed494170452f108.tar.gz
PrismLauncher-8b14b946e248c327046777eb2ed494170452f108.tar.bz2
PrismLauncher-8b14b946e248c327046777eb2ed494170452f108.zip
Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into develop
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r--launcher/modplatform/ModIndex.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/launcher/modplatform/ModIndex.h b/launcher/modplatform/ModIndex.h
index 5b439935..edf92416 100644
--- a/launcher/modplatform/ModIndex.h
+++ b/launcher/modplatform/ModIndex.h
@@ -78,7 +78,6 @@ struct IndexedVersion {
// For internal use, not provided by APIs
bool is_currently_selected = false;
- QString custom_target_folder;
QList<QVariant> required_by;
};
@@ -106,7 +105,6 @@ struct IndexedPack {
bool versionsLoaded = false;
QVector<IndexedVersion> versions;
- QVariant loadedFileId; // to check for already downloaded mods
// Don't load by default, since some modplatform don't have that info
bool extraDataLoaded = true;
@@ -122,8 +120,6 @@ struct IndexedPack {
}
[[nodiscard]] bool isAnyVersionSelected() const
{
- if (loadedFileId.isValid())
- return true;
if (!versionsLoaded)
return false;