aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/global/MinecraftPage.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-18 23:46:19 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-18 23:46:19 +0300
commit015f88bf83ce577b2be4f3a70b41156d76daa00b (patch)
treecf876eba9df8704d04611e7adb5979d007dfcf15 /launcher/ui/pages/global/MinecraftPage.cpp
parent002430db4668df1816feba550f5c2f432683996c (diff)
parent3fbc25155b71820c233ac2d8383fa5b9bd1867df (diff)
downloadPrismLauncher-015f88bf83ce577b2be4f3a70b41156d76daa00b.tar.gz
PrismLauncher-015f88bf83ce577b2be4f3a70b41156d76daa00b.tar.bz2
PrismLauncher-015f88bf83ce577b2be4f3a70b41156d76daa00b.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into import
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/pages/global/MinecraftPage.cpp')
-rw-r--r--launcher/ui/pages/global/MinecraftPage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/ui/pages/global/MinecraftPage.cpp b/launcher/ui/pages/global/MinecraftPage.cpp
index eca3e865..95482356 100644
--- a/launcher/ui/pages/global/MinecraftPage.cpp
+++ b/launcher/ui/pages/global/MinecraftPage.cpp
@@ -2,6 +2,7 @@
/*
* PolyMC - Minecraft Launcher
* Copyright (c) 2022 Jamie Mansfield <jmansfield@cadixdev.org>
+ * Copyright (C) 2023 seth <getchoo at tuta dot io>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -99,6 +100,9 @@ void MinecraftPage::applySettings()
// Miscellaneous
s->set("CloseAfterLaunch", ui->closeAfterLaunchCheck->isChecked());
s->set("QuitAfterGameStop", ui->quitAfterGameStopCheck->isChecked());
+
+ // Mod loader settings
+ s->set("DisableQuiltBeacon", ui->disableQuiltBeaconCheckBox->isChecked());
}
void MinecraftPage::loadSettings()
@@ -137,6 +141,8 @@ void MinecraftPage::loadSettings()
ui->closeAfterLaunchCheck->setChecked(s->get("CloseAfterLaunch").toBool());
ui->quitAfterGameStopCheck->setChecked(s->get("QuitAfterGameStop").toBool());
+
+ ui->disableQuiltBeaconCheckBox->setChecked(s->get("DisableQuiltBeacon").toBool());
}
void MinecraftPage::retranslate()