mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 03:45:38 +00:00
Qt: Move RAIntegration menu to Tools
That way it's not hidden by default.
This commit is contained in:
parent
f9bf997c34
commit
f08f124eaa
|
@ -1591,7 +1591,7 @@ void MainWindow::setupAdditionalUi()
|
|||
#ifdef WITH_RAINTEGRATION
|
||||
if (Achievements::IsUsingRAIntegration())
|
||||
{
|
||||
QMenu* raMenu = new QMenu(QStringLiteral("RAIntegration"), m_ui.menuDebug);
|
||||
QMenu* raMenu = new QMenu(QStringLiteral("RAIntegration"), m_ui.menu_Tools);
|
||||
connect(raMenu, &QMenu::aboutToShow, this, [this, raMenu]() {
|
||||
raMenu->clear();
|
||||
|
||||
|
@ -1615,7 +1615,7 @@ void MainWindow::setupAdditionalUi()
|
|||
[id = id]() { Host::RunOnCPUThread([id]() { Achievements::RAIntegration::ActivateMenuItem(id); }); });
|
||||
}
|
||||
});
|
||||
m_ui.menuDebug->insertMenu(m_ui.menuCPUExecutionMode->menuAction(), raMenu);
|
||||
m_ui.menu_Tools->insertMenu(m_ui.actionOpenDataDirectory, raMenu);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue