citra/src/citra_qt
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
..
applets common/string_util: Move TextFromBuffer to string_util 2019-04-08 22:34:21 +08:00
camera citra_qt/camera: silent signed array index warning (#4829) 2019-07-14 19:26:06 +02:00
configuration configuration/config: Move config loading and saving to functions based off groups (#4855) 2019-11-07 17:33:41 +01:00
debugger citra_qt/RecordDialog: close when OK is clicked 2019-09-21 23:56:07 -05:00
multiplayer Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
updater Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
util sequence_dialog: Reorganize the constructor 2019-05-29 23:49:47 +02:00
aboutdialog.cpp Port yuzu-emu/yuzu#2457: "yuzu/{about_dialog, main}: Specify string conversions explicitly for SCM-related info" (#4774) 2019-08-10 11:01:18 +02:00
aboutdialog.h Clean up aboutdialog.h 2018-08-25 14:45:50 +02:00
aboutdialog.ui citra-qt: Add build date in about dialog 2018-06-18 21:21:00 +08:00
bootmanager.cpp Port yuzu-emu/yuzu#2529: "yuzu/bootmanager: Minor interface tid… (#4794) 2019-07-11 18:46:44 +02:00
bootmanager.h Port yuzu-emu/yuzu#2529: "yuzu/bootmanager: Minor interface tid… (#4794) 2019-07-11 18:46:44 +02:00
cheats.cpp Qt: Fixed behaviour of buttons by connecting functors to correct signals 2019-07-22 23:28:10 +02:00
cheats.h citra_qt: Implement UI for adding/editing/deleting cheats 2019-02-02 08:15:27 +08:00
cheats.ui citra_qt: Implement UI for adding/editing/deleting cheats 2019-02-02 08:15:27 +08:00
citra-qt.rc Fix icon for citra qt 2017-09-03 11:26:10 -06:00
CMakeLists.txt citra_qt/debugger: Add recorder widget 2019-08-20 03:08:55 +08:00
compatdb.cpp yuzu/compatdb: Remove unnecessary qualifiers 2019-05-10 20:30:32 +02:00
compatdb.h compatdb: Use a seperate endpoint for testcase submission 2018-10-27 12:20:03 +02:00
compatdb.ui add compatibility reporting to qt frontend 2018-01-01 19:25:38 -06:00
compatibility_list.cpp Stop splitting includes 2018-10-20 16:31:35 +02:00
compatibility_list.h Stop splitting includes 2018-10-20 16:31:35 +02:00
discord_impl.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
discord_impl.h Address a bunch of review comments 2018-10-20 10:35:55 -04:00
discord.h Add Discord Rich Presence Support (#3883) 2018-08-20 11:20:33 +02:00
game_list_p.h Backport changes from yuzu-emu/yuzu#2444 2019-09-22 17:27:01 +02:00
game_list_worker.cpp Backport changes from yuzu-emu/yuzu#2444 2019-09-22 17:27:01 +02:00
game_list_worker.h Backport changes from yuzu-emu/yuzu#2444 2019-09-22 17:27:01 +02:00
game_list.cpp Backport changes from yuzu-emu/yuzu#2444 2019-09-22 17:27:01 +02:00
game_list.h Address review comments 2019-09-22 20:48:32 +02:00
hotkeys.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
hotkeys.h yuzu/hotkeys: Remove unnecessary constructor 2019-05-10 20:30:50 +02:00
Info.plist CMake: Fix Info.plist template for citra_qt/OSX 2016-07-21 21:33:54 +01:00
main.cpp Merge pull request #4948 from vvanelslande/amiibo-dad 2019-10-05 10:47:46 -04:00
main.h Merge pull request #4948 from vvanelslande/amiibo-dad 2019-10-05 10:47:46 -04:00
main.ui citra_qt: Add video dumping UI 2019-08-14 09:27:05 +08:00
uisettings.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
uisettings.h Backport changes from yuzu-emu/yuzu#2444 2019-09-22 17:27:01 +02:00