Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12225 from AdmiralCurtiss/resolution-dropdown-fix
Qt/EnhancementsWidget: Fix size of resolution dropdown.
  • Loading branch information
AdmiralCurtiss committed Oct 10, 2023
2 parents a2f21da + 7b32530 commit 6aadfd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp
Expand Up @@ -73,7 +73,8 @@ void EnhancementsWidget::CreateWidgets()
tr("720p"), tr("1080p"), tr("1440p"), QStringLiteral(""),
tr("4K"), QStringLiteral(""), tr("5K"), QStringLiteral(""),
QStringLiteral(""), QStringLiteral(""), tr("8K")};
const int visible_resolution_option_count = static_cast<int>(resolution_options.size());
const int visible_resolution_option_count = static_cast<int>(resolution_options.size()) +
static_cast<int>(resolution_extra_options.size());

// If the current scale is greater than the max scale in the ini, add sufficient options so that
// when the settings are saved we don't lose the user-modified value from the ini.
Expand Down

0 comments on commit 6aadfd5

Please sign in to comment.