mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35: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);
|
QSignalBlocker sb(cb);
|
||||||
cb->clear();
|
cb->clear();
|
||||||
|
|
||||||
cb->addItem(QIcon(QStringLiteral(":/icons/system-search.png")),
|
cb->addItem(QIcon(QStringLiteral(":/icons/system-search.png")), qApp->translate("BIOSSettingsWidget", "Auto-Detect"));
|
||||||
QT_TRANSLATE_NOOP("BIOSSettingsWidget", "Auto-Detect"));
|
|
||||||
|
|
||||||
std::sort(images.begin(), images.end(), [region](const auto& left, const auto& right) {
|
std::sort(images.begin(), images.end(), [region](const auto& left, const auto& right) {
|
||||||
const bool left_region_match = (left.second && left.second->region == region);
|
const bool left_region_match = (left.second && left.second->region == region);
|
||||||
|
|
Loading…
Reference in a new issue