mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-07-11 01:34:03 +02:00
qt: Use generated setting keys for uisettings instead of hardcoded string literals
This commit is contained in:
@@ -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})")
|
||||
|
||||
Reference in New Issue
Block a user