mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix off by one
This commit is contained in:
parent
225734c0b3
commit
6cf261a0f7
1 changed files with 2 additions and 1 deletions
|
@ -477,6 +477,7 @@ void MainWindow::SetWindowScale(int zoom) {
|
|||
#else
|
||||
resize(g_Config.iWindowWidth, g_Config.iWindowHeight);
|
||||
#endif
|
||||
updateMenus();
|
||||
}
|
||||
|
||||
void MainWindow::SetGameTitle(QString text)
|
||||
|
@ -603,7 +604,7 @@ void MainWindow::createMenus()
|
|||
MenuTree* windowMenu = new MenuTree(this, gameSettingsMenu, QT_TR_NOOP("&Window size"));
|
||||
windowGroup = new MenuActionGroup(this, windowMenu, SLOT(windowGroup_triggered(QAction *)),
|
||||
QStringList() << "&1x" << "&2x" << "&3x" << "&4x" << "&5x" << "&6x" << "&7x" << "&8x" << "&9x" << "1&0x",
|
||||
QList<int>() << 0 << 1 << 2 << 3 << 4 << 5 << 6 << 7 << 8 << 9);
|
||||
QList<int>() << 1 << 2 << 3 << 4 << 5 << 6 << 7 << 8 << 9 << 10);
|
||||
|
||||
MenuTree* renderingModeMenu = new MenuTree(this, gameSettingsMenu, QT_TR_NOOP("Rendering m&ode"));
|
||||
renderingModeGroup = new MenuActionGroup(this, renderingModeMenu, SLOT(renderingModeGroup_triggered(QAction *)),
|
||||
|
|
Loading…
Add table
Reference in a new issue