qt: Use generated setting keys for uisettings instead of hardcoded string literals

This commit is contained in:
OpenSauce04
2026-07-10 13:04:08 +01:00
committed by OpenSauce
parent f0115effff
commit a2a71ebb60
2 changed files with 65 additions and 31 deletions
+31
View File
@@ -218,6 +218,37 @@ if (ENABLE_QT)
"libvorbis"
"Context"
"favorites"
"microProfileDialogVisible"
"singleWindowMode"
"fullscreen"
"displayTitleBars"
"showFilterBar"
"showStatusBar"
"show_advanced_frametime_info"
"confirmClose"
"saveStateWarning"
"firstStart"
"pauseWhenInBackground"
"muteWhenInBackground"
"hideInactiveMouse"
"check_for_update_on_start"
"update_check_channel"
"inserted_cartridge"
"enable_discord_presence"
"iconSize"
"row1" # The keys for this and...
"row2" # this suck ass.
"hideNoIcon"
"singleLineMode"
"show_compat_column"
"show_region_column"
"show_type_column"
"show_size_column"
"show_play_time_column"
"screenshot_resolution_factor"
"screenshotPath"
"calloutFlags"
"showConsole"
)
set(SETTING_KEY_LIST "${SETTING_KEY_LIST}\n\"${KEY}\",")
set(SETTING_KEY_DEFINITIONS "${SETTING_KEY_DEFINITIONS}\nDEFINE_KEY(${KEY})")