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.
7 years ago
Lioncash
45c01544a6
configure_system: Simplify UUID generation call in AddUser()
This is a static function so we can just perform an assignment directly.
7 years ago
Lioncash
e39e875547
configure_system: Amend function casing
7 years ago
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.
7 years ago
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.
7 years ago
Zach Hilman
1977ed3d9f
profile_manager: Create save data if it doesn't exist on use
7 years ago
Zach Hilman
da04134ce6
acc: Fix account UUID duplication error
7 years ago
Zach Hilman
e1784822f2
configure_system: Clear selection after user delete
7 years ago
Zach Hilman
8bdf2fe7b7
profile_manager: Load user icons, names, and UUIDs from system save
7 years ago
Zach Hilman
22e74d049b
qt: Add Profile Manager UI to system settings
7 years ago
Lioncash
5de7c31baa
qt: Default destructors where applicable
Makes code consistent with our style of defaulting special member
functions where applicable.
8 years ago
David
4a4641a134
Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests ( #851 )
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
noah katz
630e0825e8
Fixed formatting
8 years ago
noah katz
915bc24ba1
Fix non translated string (same as Citra PR 2949)
8 years ago
MerryMage
41bfd994f6
clang-format
8 years ago
MerryMage
2c057ef5df
Minor cleanup
8 years ago
James Rowe
bd5740a721
Remove gpu debugger and get yuzu qt to compile
8 years ago
James Rowe
5dbd091a80
Massive removal of unused modules
8 years ago
bunnei
5993f6f6de
Remove lots more 3DS-specific code.
8 years ago
wwylele
9c4b6162af
citra-qt: fix some untranslated strings
8 years ago
B3n30
e719319b10
Create a random console_unique_id ( #2668 )
* Create a random console_id when config save_file is created
Added button in system config to refresh the console unique id
* Moved the connect for the button from .ui file to constructor of ConfigureSystem
* Added warning and info dialog
Fixup: Make use of qt5 style connects,
renamed the refresh button,
removed some duplicate code,
changed random device and moved all to the generate function
* Changed the random generator to reflect what a real 3DS stores as console unique id
Fixup: Changed the warning message
* Fixup: Set and Create
* Fixup: Added console id label, therfore removed second message box
* Fixup: fixed the endianess
* Fixup: more endianness fixes
* Fixup: Endianness the 3rd
9 years ago
Lioncash
bbb41d4504
citra-qt: Move config dialog code to its own directory
9 years ago
Yuri Kunde Schlesner
28c24c2c6e
Core: Remove unnecessary include in thread.h
9 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
98bf7cc82f
core: Consolidate top-level system state into a singleton.
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
wwylele
53f72f198f
Qt: fix birthday combo box updating
9 years ago
wwylele
e64309bac9
Qt: unify running detection
9 years ago
wwylele
031589a960
Qt: add system settings config tab
10 years ago