diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-10-10 19:29:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-10 19:29:22 +0200 |
| commit | 6aadfd522b4f322cd059faf5eba4e308fbe1740b (patch) | |
| tree | 5c9ea636e818cd0eee9c8cb4baa61b4e880d571b | |
| parent | a2f21da87723adfa09c8a733c2245975dbd78793 (diff) | |
| parent | 7b32530de6185afc2e52288b752ae690c9dd3304 (diff) | |
Merge pull request #12225 from AdmiralCurtiss/resolution-dropdown-fix
Qt/EnhancementsWidget: Fix size of resolution dropdown.
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp index 593f05d4ae..b99cea97bc 100644 --- a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp @@ -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. |
