From ed5c03e0d54ac75bec782fe5d156c3e37f8a6e9f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 13 Sep 2020 20:25:39 +1000 Subject: [PATCH] Qt: Fix texture filtering drop-down in game properties --- src/duckstation-qt/gamepropertiesdialog.cpp | 7 +++++++ src/duckstation-qt/gamepropertiesdialog.ui | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/duckstation-qt/gamepropertiesdialog.cpp b/src/duckstation-qt/gamepropertiesdialog.cpp index 7194d51e2..d647e381f 100644 --- a/src/duckstation-qt/gamepropertiesdialog.cpp +++ b/src/duckstation-qt/gamepropertiesdialog.cpp @@ -134,6 +134,13 @@ void GamePropertiesDialog::setupAdditionalUi() m_ui.userResolutionScale->addItem(tr("(unchanged)")); QtUtils::FillComboBoxWithResolutionScales(m_ui.userResolutionScale); + m_ui.userTextureFiltering->addItem(tr("(unchanged)")); + for (u32 i = 0; i < static_cast(GPUTextureFilter::Count); i++) + { + m_ui.userTextureFiltering->addItem( + qApp->translate("GPUTextureFilter", Settings::GetTextureFilterDisplayName(static_cast(i)))); + } + m_ui.userControllerType1->addItem(tr("(unchanged)")); for (u32 i = 0; i < static_cast(ControllerType::Count); i++) { diff --git a/src/duckstation-qt/gamepropertiesdialog.ui b/src/duckstation-qt/gamepropertiesdialog.ui index b98563e59..9d8675c30 100644 --- a/src/duckstation-qt/gamepropertiesdialog.ui +++ b/src/duckstation-qt/gamepropertiesdialog.ui @@ -262,7 +262,7 @@ - +