Commit af36d100 authored by Nadia Holmquist Pedersen's avatar Nadia Holmquist Pedersen
Browse files

Explicitly set NoRole on the setup cheats option so Qt on mac will stop stealing it

parent 297563cd
......@@ -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);
}
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment