citra/src/citra_qt/configuration
Tobias ff931590b0
configuration/config: Move config loading and saving to functions based off groups (#4855)
Over time our config values have grown quite numerous in size.
Unfortunately it also makes the single functions we have for loading and
saving values more error prone.

For example, we were loading the core settings twice when they only
should have been loaded once. In another section, a variable was
shadowing another variable used to load settings from a completely
different section.

Finally, in one other case, there was an extraneous endGroup() call used
that didn't need to be done. This was essentially dead code and also a
bug waiting to happen.

This separates the section loading code into its own separate functions.
This keeps variables only visible to the code that actually needs it,
and makes it much easier to visually see the end of each individual
configuration group. It also makes it much easier to visually catch bugs
during code review.

While we're at it, this also uses QStringLiteral instead of raw string
literals, which both avoids constructing a lot of QString instances, but
also makes it much easier to disable implicit ASCII to QString and
vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and
QT_NO_CAST_TO_ASCII as compilation flags.
2019-11-07 17:33:41 +01:00
..
config.cpp configuration/config: Move config loading and saving to functions based off groups (#4855) 2019-11-07 17:33:41 +01:00
config.h configuration/config: Move config loading and saving to functions based off groups (#4855) 2019-11-07 17:33:41 +01:00
configure.ui citra-qt: Add base support for hotkey reconfiguration + UI (whole of PR citra-emu/citra#3786) 2019-01-20 16:12:10 +05:30
configure_audio.cpp yuzu/configuration: Specify string conversions explicitly 2019-07-28 15:08:54 +02:00
configure_audio.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_audio.ui Rest of the owl 2019-03-04 23:07:05 -07:00
configure_camera.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
configure_camera.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_camera.ui camera: Add camera flip config 2018-06-07 14:57:03 +08:00
configure_debug.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
configure_debug.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_debug.ui GDB Modernization: 2018-08-16 10:40:52 +01:00
configure_dialog.cpp configure_dialog: reverse tab map to avoid logic based on user-facing/translatable text (#4866) 2019-08-10 09:00:56 +02:00
configure_dialog.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_general.cpp Naming changes and clang format 2019-09-14 18:14:23 -03:00
configure_general.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_general.ui small changes to ApplicationState handling, just in case 2019-09-19 00:12:36 -03:00
configure_graphics.cpp Address review comments 2019-09-22 20:48:32 +02:00
configure_graphics.h Address review comments 2019-09-22 20:48:32 +02:00
configure_graphics.ui Remove 'Accurate Geometry Shader' setting, default behavior is as it was turned on. 2019-08-12 02:55:14 +02:00
configure_hotkeys.cpp yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_hotkeys.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_hotkeys.ui citra-qt: Add /default parsing for hotkeys. Also minor code cleanups. 2019-01-25 20:42:49 +05:30
configure_input.cpp Add cancel option to analog stick configuration 2019-08-31 21:58:07 -03:00
configure_input.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_input.ui Merge branch 'master' into profiles 2019-01-07 10:39:44 -05:00
configure_motion_touch.cpp yuzu/configuration: Specify string conversions explicitly 2019-07-28 15:08:54 +02:00
configure_motion_touch.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_motion_touch.ui citra_qt/configure_motion_touch: fix slot name 2019-07-14 23:02:22 -04:00
configure_system.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
configure_system.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_system.ui citra_qt: add seconds section to clock settings (#4347) 2018-10-25 21:29:43 +08:00
configure_ui.cpp citra_qt: Add single line mode for game list 2019-08-20 20:03:15 +08:00
configure_ui.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_ui.ui Change GameListText order to improve configuration compatibility 2019-09-09 23:36:21 -03:00
configure_web.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
configure_web.h yuzu/configuration: Make function naming consistent 2019-07-06 15:01:41 +02:00
configure_web.ui core, citra_qt: Allow credentials update in multiplayer announce session 2019-04-20 12:50:24 +08:00