mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
Reorganize the version-related code.
This commit is contained in:
parent
7dfd6aa051
commit
7c24bcc834
18 changed files with 880 additions and 849 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#include "gui/dialogs/ProgressDialog.h"
|
||||
|
||||
#include "logic/ModList.h"
|
||||
#include "logic/OneSixVersion.h"
|
||||
#include "logic/VersionFinal.h"
|
||||
#include "logic/EnabledItemFilter.h"
|
||||
#include "logic/lists/ForgeVersionList.h"
|
||||
#include "logic/lists/LiteLoaderVersionList.h"
|
||||
|
|
@ -353,7 +353,7 @@ QMap<QString, int> OneSixModEditDialog::getExistingOrder() const
|
|||
QMap<QString, int> order;
|
||||
// default
|
||||
{
|
||||
for (OneSixVersion::VersionFile file : m_version->versionFiles)
|
||||
for (VersionFinal::VersionFile file : m_version->versionFiles)
|
||||
{
|
||||
if (file.id.startsWith("org.multimc."))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue