From 7104de9ce98ac4c0c9e254d09ea430ae24487809 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 17 Mar 2025 18:51:24 -0400 Subject: [PATCH] Fix various settings that broke during the refactor --- launcher/ui/Settings/DeveloperSettings.qml | 4 ++-- launcher/ui/Settings/ProfileSettings.qml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/launcher/ui/Settings/DeveloperSettings.qml b/launcher/ui/Settings/DeveloperSettings.qml index 0637612..4f45313 100644 --- a/launcher/ui/Settings/DeveloperSettings.qml +++ b/launcher/ui/Settings/DeveloperSettings.qml @@ -59,8 +59,8 @@ FormCard.FormCardPage { text: i18n("Encrypt Game Arguments") description: i18n("Disable encryption if you want to inspect the raw arguments passed to the game.") - checked: LauncherCore.config.argumentsEncrypted - onCheckedChanged: LauncherCore.config.argumentsEncrypted = checked + checked: LauncherCore.config.encryptArguments + onCheckedChanged: LauncherCore.config.encryptArguments = checked } FormCard.FormDelegateSeparator { diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index eeaef9a..935e049 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -171,8 +171,8 @@ FormCard.FormCardPage { FormCard.FormCheckDelegate { text: i18n("Enable Gamescope") description: i18n("A micro-compositor that uses Wayland to create a nested session.\nIf you use fullscreen mode, it may improve input handling.") - checked: page.profile.config.gamescopeEnabled - onCheckedChanged: page.profile.config.gamescopeEnabled = checked + checked: page.profile.config.useGamescope + onCheckedChanged: page.profile.config.useGamescope = checked } FormCard.FormDelegateSeparator {} @@ -180,7 +180,7 @@ FormCard.FormCardPage { FormCard.FormButtonDelegate { text: i18n("Configure Gamescope...") icon.name: "configure" - enabled: page.profile.config.gamescopeEnabled + enabled: page.profile.config.useGamescope Kirigami.PromptDialog { id: gamescopeSettingsDialog title: i18n("Configure Gamescope") @@ -227,8 +227,8 @@ FormCard.FormCardPage { text: i18n("Enable Gamemode") description: i18n("A special game performance tool, that tunes your CPU scheduler among other things.") - checked: page.profile.config.gamemodeEnabled - onCheckedChanged: page.profile.config.gamemodeEnabled = checked + checked: page.profile.config.useGamemode + onCheckedChanged: page.profile.config.useGamemode = checked } } @@ -300,7 +300,7 @@ FormCard.FormCardPage { } FormCard.FormTextDelegate { - description: page.profile.config.dalamudVersionText + description: page.profile.dalamudVersionText } }