aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-04-27 01:33:46 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-04-27 01:33:46 +0300
commit248920a2211db0c55d01273cc36c735a629b0325 (patch)
tree575be3cfe5443b8fb8eb448e6cdf6160719d3321 /launcher/modplatform
parentf738d7566e45f618634c4d40ec45f78f96fac588 (diff)
downloadPrismLauncher-248920a2211db0c55d01273cc36c735a629b0325.tar.gz
PrismLauncher-248920a2211db0c55d01273cc36c735a629b0325.tar.bz2
PrismLauncher-248920a2211db0c55d01273cc36c735a629b0325.zip
Removed extra code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r--launcher/modplatform/ModIndex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/launcher/modplatform/ModIndex.h b/launcher/modplatform/ModIndex.h
index b736aaf4..4497088c 100644
--- a/launcher/modplatform/ModIndex.h
+++ b/launcher/modplatform/ModIndex.h
@@ -95,7 +95,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;
@@ -111,8 +110,6 @@ struct IndexedPack {
}
[[nodiscard]] bool isAnyVersionSelected() const
{
- if (loadedFileId.isValid())
- return true;
if (!versionsLoaded)
return false;