Fix oversight with the preferences action causing the build to fail on macOS
This commit is contained in:
parent
b171038c85
commit
2b550192e7
|
@ -1526,7 +1526,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
|
|||
connect(actEmuSettings, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
|
||||
|
||||
#ifdef __APPLE__
|
||||
QAction* actPreferences = menu->addAction("Preferences...");
|
||||
actPreferences = menu->addAction("Preferences...");
|
||||
connect(actPreferences, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
|
||||
actPreferences->setMenuRole(QAction::PreferencesRole);
|
||||
#endif
|
||||
|
|
|
@ -353,6 +353,9 @@ public:
|
|||
QAction* actMPNewInstance;
|
||||
|
||||
QAction* actEmuSettings;
|
||||
#ifdef __APPLE__
|
||||
QAction* actPreferences;
|
||||
#endif
|
||||
QAction* actPowerManagement;
|
||||
QAction* actInputConfig;
|
||||
QAction* actVideoSettings;
|
||||
|
|
Loading…
Reference in New Issue