mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 00:55:41 +00:00
fix compatibility rating to be translated
This commit is contained in:
parent
91a6608118
commit
fbbb5a1eee
|
@ -36,7 +36,7 @@ GameSummaryWidget::GameSummaryWidget(const std::string& path, const std::string&
|
||||||
for (u32 i = 0; i < static_cast<u32>(GameDatabase::CompatibilityRating::Count); i++)
|
for (u32 i = 0; i < static_cast<u32>(GameDatabase::CompatibilityRating::Count); i++)
|
||||||
{
|
{
|
||||||
m_ui.compatibility->addItem(QtUtils::GetIconForCompatibility(static_cast<GameDatabase::CompatibilityRating>(i)),
|
m_ui.compatibility->addItem(QtUtils::GetIconForCompatibility(static_cast<GameDatabase::CompatibilityRating>(i)),
|
||||||
qApp->translate("GameDatabase", GameDatabase::GetCompatibilityRatingDisplayName(
|
qApp->translate("GameListCompatibilityRating", GameDatabase::GetCompatibilityRatingDisplayName(
|
||||||
static_cast<GameDatabase::CompatibilityRating>(i))));
|
static_cast<GameDatabase::CompatibilityRating>(i))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue