mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt: Fix auto-detect in BIOS settings being untranslatable
This commit is contained in:
parent
adfd5cb98e
commit
fb420bad82
|
@ -13,8 +13,7 @@ static void populateDropDownForRegion(ConsoleRegion region, QComboBox* cb,
|
|||
QSignalBlocker sb(cb);
|
||||
cb->clear();
|
||||
|
||||
cb->addItem(QIcon(QStringLiteral(":/icons/system-search.png")),
|
||||
QT_TRANSLATE_NOOP("BIOSSettingsWidget", "Auto-Detect"));
|
||||
cb->addItem(QIcon(QStringLiteral(":/icons/system-search.png")), qApp->translate("BIOSSettingsWidget", "Auto-Detect"));
|
||||
|
||||
std::sort(images.begin(), images.end(), [region](const auto& left, const auto& right) {
|
||||
const bool left_region_match = (left.second && left.second->region == region);
|
||||
|
|
Loading…
Reference in a new issue