aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2021-06-05 14:47:51 +0200
committerNadia Holmquist Pedersen <nadia@nhp.sh>2021-06-05 14:47:51 +0200
commitaf36d1002315fc90c79d8daf638f497faecf5005 (patch)
treee3aeb47a8fdab3374a3735ca6290382c770aa4e5
parent297563cd97424f39e81148c2a880916fe9bdb8ca (diff)
Explicitly set NoRole on the setup cheats option so Qt on mac will stop stealing it
-rw-r--r--src/frontend/qt_sdl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 73ccf71..5699766 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -1313,6 +1313,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(actEnableCheats, &QAction::triggered, this, &MainWindow::onEnableCheats);
actSetupCheats = menu->addAction("Setup cheat codes");
+ actSetupCheats->setMenuRole(QAction::NoRole);
connect(actSetupCheats, &QAction::triggered, this, &MainWindow::onSetupCheats);
}
{