Qt: Fix Quit role

This commit is contained in:
Vicki Pfau 2022-06-24 22:24:05 -07:00
parent 6629aeebec
commit 5c80fa67ef
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ void Window::setupMenu(QMenuBar* menubar) {
#endif
m_actions.addAction(tr("About..."), "about", openTView<AboutScreen>(), "file")->setRole(Action::Role::ABOUT);
m_actions.addAction(tr("E&xit"), "quit", static_cast<QWidget*>(this), &QWidget::close, "file", QKeySequence::Quit)->setRole(Action::Role::SETTINGS);
m_actions.addAction(tr("E&xit"), "quit", static_cast<QWidget*>(this), &QWidget::close, "file", QKeySequence::Quit)->setRole(Action::Role::QUIT);
m_actions.addMenu(tr("&Emulation"), "emu");
addGameAction(tr("&Reset"), "reset", &CoreController::reset, "emu", QKeySequence("Ctrl+R"));