Skip to content

Fix #7: increase FPS spinbox maximum to 999#15

Merged
kblaschke merged 1 commit intomasterfrom
fix/issue-7-fps-spinbox-limit
May 8, 2026
Merged

Fix #7: increase FPS spinbox maximum to 999#15
kblaschke merged 1 commit intomasterfrom
fix/issue-7-fps-spinbox-limit

Conversation

@struktured
Copy link
Copy Markdown
Contributor

Closes #7

Summary

The maxFPSSpinBox in the config dialog had no explicit maximum property, defaulting to Qt's QSpinBox default of 99. Users with high-refresh displays (120/144/240 Hz) could set FPS > 99 in config.inp, but the UI clamped it back to 99 on save.

Change

Added <maximum>999</maximum> to the spinbox.

Test plan

  • Build clean
  • Open config dialog, FPS field accepts values up to 999

The maxFPSSpinBox had no explicit maximum, defaulting to Qt's 99.
Users with high-refresh displays could set FPS > 99 in config.inp
but couldn't change it in the UI without editing the file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Qt config dialog to allow users to set and persist FPS limits above 99 (up to 999), matching what can already be specified in config.inp.

Changes:

  • Adds an explicit maximum property of 999 to the maxFPSSpinBox in the config dialog UI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@struktured struktured self-assigned this Apr 25, 2026
Copy link
Copy Markdown
Member

@kblaschke kblaschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a sensible thing to do!

@kblaschke kblaschke merged commit 4b3ecdc into master May 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fps limit in UI

3 participants