fix build

also fixed some warninigs of unused vars and formated the code again

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit d05b996c8a)
This commit is contained in:
Trial97 2026-01-17 02:28:56 +02:00
parent e32297d531
commit 27ea967fc8
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
21 changed files with 27 additions and 63 deletions

View file

@ -341,8 +341,7 @@ void ModFolderPage::exportModMetadata()
dlg.exec();
}
CoreModFolderPage::CoreModFolderPage(BaseInstance* inst, ModFolderModel* mods, QWidget* parent)
: ModFolderPage(inst, mods, parent)
CoreModFolderPage::CoreModFolderPage(BaseInstance* inst, ModFolderModel* mods, QWidget* parent) : ModFolderPage(inst, mods, parent)
{
auto mcInst = dynamic_cast<MinecraftInstance*>(m_instance);
if (mcInst) {
@ -383,9 +382,7 @@ bool CoreModFolderPage::shouldDisplay() const
return false;
}
NilModFolderPage::NilModFolderPage(BaseInstance* inst, ModFolderModel* mods, QWidget* parent)
: ModFolderPage(inst, mods, parent)
{}
NilModFolderPage::NilModFolderPage(BaseInstance* inst, ModFolderModel* mods, QWidget* parent) : ModFolderPage(inst, mods, parent) {}
bool NilModFolderPage::shouldDisplay() const
{