diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-04-27 01:33:46 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-04-27 01:33:46 +0300 |
commit | 248920a2211db0c55d01273cc36c735a629b0325 (patch) | |
tree | 575be3cfe5443b8fb8eb448e6cdf6160719d3321 /launcher/modplatform | |
parent | f738d7566e45f618634c4d40ec45f78f96fac588 (diff) | |
download | PrismLauncher-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.h | 3 |
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; |