Qt: Add "About Qt" to help menu

This commit is contained in:
Connor McLaughlin 2020-10-03 18:48:56 +10:00
parent 50b025c75a
commit f0510897ff
2 changed files with 8 additions and 1 deletions

View File

@ -698,6 +698,7 @@ void MainWindow::connectSignals()
connect(m_ui.actionGitHubRepository, &QAction::triggered, this, &MainWindow::onGitHubRepositoryActionTriggered);
connect(m_ui.actionIssueTracker, &QAction::triggered, this, &MainWindow::onIssueTrackerActionTriggered);
connect(m_ui.actionDiscordServer, &QAction::triggered, this, &MainWindow::onDiscordServerActionTriggered);
connect(m_ui.actionAboutQt, &QAction::triggered, qApp, &QApplication::aboutQt);
connect(m_ui.actionAbout, &QAction::triggered, this, &MainWindow::onAboutActionTriggered);
connect(m_ui.actionCheckForUpdates, &QAction::triggered, this, &MainWindow::onCheckForUpdatesActionTriggered);
connect(m_ui.actionMemory_Card_Editor, &QAction::triggered, this, &MainWindow::onToolsMemoryCardEditorTriggered);

View File

@ -144,6 +144,7 @@
<addaction name="separator"/>
<addaction name="actionCheckForUpdates"/>
<addaction name="separator"/>
<addaction name="actionAboutQt"/>
<addaction name="actionAbout"/>
</widget>
<widget class="QMenu" name="menuDebug">
@ -428,9 +429,14 @@
<string>Check for &amp;Updates...</string>
</property>
</action>
<action name="actionAboutQt">
<property name="text">
<string>About &amp;Qt...</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
<string>&amp;About...</string>
<string>&amp;About DuckStation...</string>
</property>
</action>
<action name="actionChangeDisc">