mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt: Fix texture filtering drop-down in game properties
This commit is contained in:
parent
3232e3b164
commit
ed5c03e0d5
|
@ -134,6 +134,13 @@ void GamePropertiesDialog::setupAdditionalUi()
|
||||||
m_ui.userResolutionScale->addItem(tr("(unchanged)"));
|
m_ui.userResolutionScale->addItem(tr("(unchanged)"));
|
||||||
QtUtils::FillComboBoxWithResolutionScales(m_ui.userResolutionScale);
|
QtUtils::FillComboBoxWithResolutionScales(m_ui.userResolutionScale);
|
||||||
|
|
||||||
|
m_ui.userTextureFiltering->addItem(tr("(unchanged)"));
|
||||||
|
for (u32 i = 0; i < static_cast<u32>(GPUTextureFilter::Count); i++)
|
||||||
|
{
|
||||||
|
m_ui.userTextureFiltering->addItem(
|
||||||
|
qApp->translate("GPUTextureFilter", Settings::GetTextureFilterDisplayName(static_cast<GPUTextureFilter>(i))));
|
||||||
|
}
|
||||||
|
|
||||||
m_ui.userControllerType1->addItem(tr("(unchanged)"));
|
m_ui.userControllerType1->addItem(tr("(unchanged)"));
|
||||||
for (u32 i = 0; i < static_cast<u32>(ControllerType::Count); i++)
|
for (u32 i = 0; i < static_cast<u32>(ControllerType::Count); i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -262,7 +262,7 @@
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QComboBox" name="userTextureFiltering" />
|
<widget class="QComboBox" name="userTextureFiltering" />
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" colspan="2">
|
<item row="2" column="0" colspan="2">
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QCheckBox" name="userTrueColor">
|
<widget class="QCheckBox" name="userTrueColor">
|
||||||
|
|
Loading…
Reference in a new issue