diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-06-05 14:47:51 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-06-05 14:47:51 +0200 |
commit | af36d1002315fc90c79d8daf638f497faecf5005 (patch) | |
tree | e3aeb47a8fdab3374a3735ca6290382c770aa4e5 /src/frontend | |
parent | 297563cd97424f39e81148c2a880916fe9bdb8ca (diff) |
Explicitly set NoRole on the setup cheats option so Qt on mac will stop stealing it
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 1 |
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); } { |