Explicitly set NoRole on the setup cheats option so Qt on mac will stop stealing it
This commit is contained in:
parent
297563cd97
commit
af36d10023
|
@ -1313,6 +1313,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
|
||||||
connect(actEnableCheats, &QAction::triggered, this, &MainWindow::onEnableCheats);
|
connect(actEnableCheats, &QAction::triggered, this, &MainWindow::onEnableCheats);
|
||||||
|
|
||||||
actSetupCheats = menu->addAction("Setup cheat codes");
|
actSetupCheats = menu->addAction("Setup cheat codes");
|
||||||
|
actSetupCheats->setMenuRole(QAction::NoRole);
|
||||||
connect(actSetupCheats, &QAction::triggered, this, &MainWindow::onSetupCheats);
|
connect(actSetupCheats, &QAction::triggered, this, &MainWindow::onSetupCheats);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue