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);
|
connect(actEmuSettings, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
QAction* actPreferences = menu->addAction("Preferences...");
|
actPreferences = menu->addAction("Preferences...");
|
||||||
connect(actPreferences, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
|
connect(actPreferences, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
|
||||||
actPreferences->setMenuRole(QAction::PreferencesRole);
|
actPreferences->setMenuRole(QAction::PreferencesRole);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -353,6 +353,9 @@ public:
|
||||||
QAction* actMPNewInstance;
|
QAction* actMPNewInstance;
|
||||||
|
|
||||||
QAction* actEmuSettings;
|
QAction* actEmuSettings;
|
||||||
|
#ifdef __APPLE__
|
||||||
|
QAction* actPreferences;
|
||||||
|
#endif
|
||||||
QAction* actPowerManagement;
|
QAction* actPowerManagement;
|
||||||
QAction* actInputConfig;
|
QAction* actInputConfig;
|
||||||
QAction* actVideoSettings;
|
QAction* actVideoSettings;
|
||||||
|
|
Loading…
Reference in New Issue