configuration_shared: Better use global text

Also adds trackers for graphics and advanced graphics
This commit is contained in:
lat9nq 2020-07-13 21:35:58 -04:00
parent 5565548fb7
commit cfff443f00
2 changed files with 15 additions and 0 deletions

View file

@ -124,3 +124,9 @@ void ConfigurationShared::InsertGlobalItem(QComboBox* combobox) {
combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text);
combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX);
}
void ConfigurationShared::InsertGlobalItem(QComboBox* combobox, const QString& global) {
const QString use_global_text = ConfigurePerGame::tr("Use global configuration (%1)").arg(global);
combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text);
combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX);
}