mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-15 05:47:43 -07:00
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
Block a user