Skip to content

Commit

Permalink
Qt buildfix, apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 27, 2022
1 parent 0a3d782 commit 689860b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Qt/mainwindow.cpp
Expand Up @@ -589,7 +589,7 @@ void MainWindow::createMenus()
MenuTree* gameSettingsMenu = new MenuTree(this, menuBar(), QT_TR_NOOP("&Game settings"));
gameSettingsMenu->add(new MenuAction(this, SLOT(languageAct()), QT_TR_NOOP("La&nguage...")));
gameSettingsMenu->add(new MenuAction(this, SLOT(controlMappingAct()), QT_TR_NOOP("C&ontrol mapping...")));
gameSettingsMenu->add(new MenuAction(this, SLOT(displayLayoutEditorAct()), QT_TR_NOOP("Display layout editor...")));
gameSettingsMenu->add(new MenuAction(this, SLOT(displayLayoutEditorAct()), QT_TR_NOOP("Display layout & effects...")));
gameSettingsMenu->add(new MenuAction(this, SLOT(moreSettingsAct()), QT_TR_NOOP("&More settings...")));
gameSettingsMenu->addSeparator();
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
Expand Down
4 changes: 0 additions & 4 deletions Qt/mainwindow.h
Expand Up @@ -130,10 +130,6 @@ private slots:
}
void windowGroup_triggered(QAction *action) { SetWindowScale(action->data().toInt()); }

void displayLayoutGroup_triggered(QAction *action) {
g_Config.iSmallDisplayZoomType = action->data().toInt();
NativeMessageReceived("gpu_displayResized", "");
}
void autoframeskipAct() {
g_Config.bAutoFrameSkip = !g_Config.bAutoFrameSkip;
if (g_Config.bSkipBufferEffects) {
Expand Down
2 changes: 1 addition & 1 deletion UI/GamepadEmu.cpp
Expand Up @@ -598,7 +598,7 @@ bool PSPCustomStick::Touch(const TouchInput &input) {
retval = true;
}
}
return true;
return retval;
}

void PSPCustomStick::ProcessTouch(float x, float y, bool down) {
Expand Down

0 comments on commit 689860b

Please sign in to comment.