32b4d63a5b
config(qt): Fix name of network category
...
Turns out the network interface is in the Services category. Can't wait
get rid of this whole config.
Addresses yuzu-emu/yuzu/issues/11205
2023-08-02 12:21:43 -04:00
09e265c116
config(qt): Use qt_config directly to read config
...
ReadSetting with the default is a convenience function reading
settings, not for use in an internal environment. It tries to manage
the default value of a setting.
2023-08-02 12:20:19 -04:00
7aa848080d
shared_widget: Only save global settings as needed
...
Fixes a potential but not reproduced issue where the custom config
is being applied to the global config.
2023-07-30 12:26:55 -04:00
55c0b55d1d
config(qt): Write the UiGeneral category
2023-07-30 12:09:32 -04:00
05c8063ac1
config(qt): Fix generic read setting
...
Previously was not respecting whether the setting was default.
2023-07-29 13:23:06 -04:00
ab2921121e
shared_widget: Determine default request earlier
...
Fixes a bug where a restore button could be created for an unmanaged
widget.
2023-07-23 17:08:25 -04:00
fc1bb93b01
shared_widget: Use QRegularExpression
2023-07-22 15:07:34 -04:00
fb7da1fa11
config: Read the Network category
2023-07-22 14:50:32 -04:00
85ed10f31f
configure_audio/cpu: Sort settings
...
Was producing out of order settings as a result of the switch to vectors
2023-07-22 00:42:15 -04:00
33d118509a
configure_dialog: Focus the button box on start
...
Without this, the Reset All Settings button would be selected by default
2023-07-21 23:56:01 -04:00
1d4f813c6a
qt/configuration: Use deleteLater
2023-07-21 23:25:22 -04:00
17b9c1e171
common,qt-config: Remove usage of forward_list
2023-07-21 23:09:09 -04:00
b54c3fba68
configure_system: Use lambda template to group settings
2023-07-21 10:56:55 -04:00
3211623192
common: Move global configuration state modifiers back to settings
2023-07-21 10:56:55 -04:00
1e093767a8
common,configure_system: Rename method to GetCategory
...
Fixes essentially a shadowing issue.
2023-07-21 10:56:55 -04:00
35872ad95b
shared_translation: Update memory layout mode strings
2023-07-21 10:56:55 -04:00
ff6a5031d5
settings: Require time zone setting value for stirng
2023-07-21 10:56:55 -04:00
07e8477f5a
shared_translation: Add missing time zones
2023-07-21 10:56:55 -04:00
ef6406a666
shared_translation: Add controller_applet_disabled
2023-07-21 10:56:55 -04:00
a14d2a6f83
shared_translation: Add barrier_feedback_loops
2023-07-21 10:56:55 -04:00
ca8509d205
configuration: Use enum index
2023-07-21 10:56:55 -04:00
9186f08c3c
shared_translation: Deobfuscate auto time zone
2023-07-21 10:56:55 -04:00
926f3e3d3e
settings,configuration: Add a default suffix
2023-07-21 10:56:55 -04:00
9de50d6194
configuration: Use paired settings
2023-07-21 10:56:55 -04:00
d1de1c3bed
shared_widget: Internalize component restoring
2023-07-21 10:56:55 -04:00
21723879e7
configuration: Use specialization of settings
...
Reduces some ugliness in frontend code.
2023-07-21 10:56:55 -04:00
ad645c29a4
configuration: Use a builder to create widgets
...
This gets rid of some repeated code and sets us up to send more
information to the new widget.
2023-07-21 10:56:55 -04:00
62ffaa730f
shared_translation: Fix context usage
...
Currently unused, but I don't want to start headaches when someone
decides to use it the first time.
2023-07-21 10:56:55 -04:00
8b28aa45b9
settings,translation: Fix time zone enum
...
Renames enum values to conform to naming convention.
2023-07-21 10:56:55 -04:00
02c48a80f6
config_shared: Remove storing the group from tab
2023-07-21 10:56:55 -04:00
81a96bafe2
configuration: Move speed_limit to core
2023-07-21 10:56:55 -04:00
89f89cf1df
shared_widget: Correct spelling
2023-07-21 10:56:55 -04:00
ee32b17782
common,yuzu-qt: GCC warning silences
...
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21 10:56:55 -04:00
916c6cd1a0
configure_graphics: Simplify UpdateAPILayout
...
Reduces branching/swictch cases for simplicity/code size
2023-07-21 10:56:54 -04:00
57a00e01d6
configure_graphcs: Fix setting shader/device in custom config
2023-07-21 10:56:54 -04:00
a7ee9d999f
configuration: Use shorter constructor as needed
...
Reduces some confusion hopefully, since some parameters specified were not
specific to the setting in question.
2023-07-21 10:56:54 -04:00
6935332cba
shared_widget: Some documentation, add shorter constructor
...
The shorter constructor enables us to specify some options without needing to
specify the default values of multiplier which wasn't always appropriate and
could be confusing.
2023-07-21 10:56:54 -04:00
3240d199a2
config: Remove unused functions
2023-07-21 10:56:54 -04:00
a0883526d6
settings: Delete cpu_accuracy_first_time
...
Almost a 2 year old migration setting now
2023-07-21 10:56:54 -04:00
7c52bb2772
shared_widget: Improve logging, use Setting::Ranged
2023-07-21 10:56:54 -04:00
3b0650b70d
configuration/shared: Clean up includes [IWYU]
2023-07-21 10:56:54 -04:00
512fb3abff
configure_graphics: Fix vulkan_device bug
2023-07-21 10:56:54 -04:00
04d4b6ab80
(ui,)settings: Use explicit instantiation
...
Reduces compile times a tad on clang.
2023-07-21 10:56:54 -04:00
7515c502c5
shared_widget: Avoid calling QWidgetPrivate::setVisible
...
This particular setVisible function is unnecessary.
It also has horrible runtime performance, so much that it consumed maybe
80% of the time used to create a widget.
2023-07-21 10:56:54 -04:00
79024bb955
FIXME configuration: Avoid unnecessary allocations
...
ConfigurationShared::Widget needs to be created with a builder. This
would avoid some duplicated code.
2023-07-21 10:56:54 -04:00
c5f8b909ec
shared_widget: Add SPDX header
2023-07-21 10:56:54 -04:00
0193add060
general: Add typeinfo where needed
...
Using typeid without including typeinfo first produces an ill-formed program.
2023-07-21 10:56:54 -04:00
fe6e765b2d
shared_widget: Use actionTriggered for user input signals
...
Clicking the slider without directly interacting with the slider handle would
change the value, but not trigger the restore button.
2023-07-21 10:56:54 -04:00
47d870b11f
shared_translation: Populate combobox enums with macro
2023-07-21 10:56:54 -04:00
81e9cf0934
configuration: Document odd widget cases
...
Explain why we need to do things differently at times, to serve as a
reference.
2023-07-21 10:56:54 -04:00