Skip to content
Snippets Groups Projects
Commit 281b64da authored by Zach Hilman's avatar Zach Hilman
Browse files

ui_settings: Add UI setting for input profile index

parent db3200b5
No related branches found
No related tags found
No related merge requests found
...@@ -506,6 +506,7 @@ void Config::ReadValues() { ...@@ -506,6 +506,7 @@ void Config::ReadValues() {
UISettings::values.first_start = qt_config->value("firstStart", true).toBool(); UISettings::values.first_start = qt_config->value("firstStart", true).toBool();
UISettings::values.callout_flags = qt_config->value("calloutFlags", 0).toUInt(); UISettings::values.callout_flags = qt_config->value("calloutFlags", 0).toUInt();
UISettings::values.show_console = qt_config->value("showConsole", false).toBool(); UISettings::values.show_console = qt_config->value("showConsole", false).toBool();
UISettings::values.profile_index = qt_config->value("profileIndex", 0).toUInt();
qt_config->endGroup(); qt_config->endGroup();
} }
...@@ -695,6 +696,7 @@ void Config::SaveValues() { ...@@ -695,6 +696,7 @@ void Config::SaveValues() {
qt_config->setValue("firstStart", UISettings::values.first_start); qt_config->setValue("firstStart", UISettings::values.first_start);
qt_config->setValue("calloutFlags", UISettings::values.callout_flags); qt_config->setValue("calloutFlags", UISettings::values.callout_flags);
qt_config->setValue("showConsole", UISettings::values.show_console); qt_config->setValue("showConsole", UISettings::values.show_console);
qt_config->setValue("profileIndex", UISettings::values.profile_index);
qt_config->endGroup(); qt_config->endGroup();
} }
......
...@@ -58,6 +58,9 @@ struct Values { ...@@ -58,6 +58,9 @@ struct Values {
// logging // logging
bool show_console; bool show_console;
// Controllers
uint32_t profile_index;
// Game List // Game List
bool show_unknown; bool show_unknown;
bool show_add_ons; bool show_add_ons;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment