Lioncash
f4272e65b8
configure_system: Move entry formatting for the user account list entries to its own function
...
Avoids the need to duplicate this all over the place, and makes it
translator-friendly across the board.
2018-10-27 01:05:56 -04:00
Lioncash
2099e41b17
configure_system: Display errors to the user if file operations fail when setting user images
...
We should display an error to the user if setting a user image for an
account fails, rather than continuing onwards.
2018-10-27 01:05:50 -04:00
Lioncash
062bf90622
configure_system: Make the file selector text translatable
...
This should be localizable, since it's user-facing text.
2018-10-25 17:27:30 -04:00
Lioncash
73dea24300
configure_system: Make GetAccountUsername() an internal function
...
We can just make the function accept an arbitrary ProfileManager
reference and operate on that instead of tying the function to the class
itself. This allows us to keep the function internal to the cpp file and
removes the need to forward declare the UUID struct.
2018-10-25 17:27:25 -04:00
Lioncash
45c01544a6
configure_system: Simplify UUID generation call in AddUser()
...
This is a static function so we can just perform an assignment directly.
2018-10-25 16:50:07 -04:00
Lioncash
e39e875547
configure_system: Amend function casing
2018-10-25 16:47:09 -04:00
Lioncash
94daae2847
profile_manager: Use std::optional instead of boost::optional
...
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
2018-10-24 11:06:52 -04:00
Zach Hilman
5c294cdb5d
configure_system: Clear current username before overwriting
...
Prevents bug where old username would remain if the new username was shorter in length.
2018-10-24 09:25:20 -04:00
Zach Hilman
1977ed3d9f
profile_manager: Create save data if it doesn't exist on use
2018-10-23 19:31:28 -04:00
Zach Hilman
da04134ce6
acc: Fix account UUID duplication error
2018-10-23 19:31:28 -04:00
Zach Hilman
e1784822f2
configure_system: Clear selection after user delete
2018-10-23 19:31:28 -04:00
Zach Hilman
8bdf2fe7b7
profile_manager: Load user icons, names, and UUIDs from system save
2018-10-23 19:31:28 -04:00
Zach Hilman
22e74d049b
qt: Add Profile Manager UI to system settings
2018-10-23 19:31:28 -04:00
Lioncash
5de7c31baa
qt: Default destructors where applicable
...
Makes code consistent with our style of defaulting special member
functions where applicable.
2018-08-06 13:27:08 -04:00
David
4a4641a134
Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests ( #851 )
2018-08-03 11:02:55 -04:00
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
2018-01-20 16:45:11 -07:00
noah katz
630e0825e8
Fixed formatting
2018-01-17 11:20:46 -05:00
noah katz
915bc24ba1
Fix non translated string (same as Citra PR 2949)
2018-01-16 19:56:41 -05:00
MerryMage
2c057ef5df
Minor cleanup
2018-01-13 23:56:18 +00:00
James Rowe
bd5740a721
Remove gpu debugger and get yuzu qt to compile
2018-01-12 19:11:04 -07:00
James Rowe
5dbd091a80
Massive removal of unused modules
2018-01-12 19:11:03 -07:00