mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Qt: Make 'About Qt' action actually open the about box
This commit is contained in:
parent
406270bcf9
commit
64cf6d167f
2 changed files with 7 additions and 0 deletions
|
@ -78,6 +78,7 @@ DMainWindow::DMainWindow(QWidget* parent_widget)
|
|||
connect(m_ui->actionGitHub, SIGNAL(triggered()), this, SLOT(OnOpenGitHub()));
|
||||
connect(m_ui->actionSystemInfo, SIGNAL(triggered()), this, SLOT(OnOpenSystemInfo()));
|
||||
connect(m_ui->actionAbout, SIGNAL(triggered()), this, SLOT(OnOpenAbout()));
|
||||
connect(m_ui->actionAboutQt, SIGNAL(triggered()), this, SLOT(OnOpenAboutQt()));
|
||||
|
||||
// Update GUI items
|
||||
emit CoreStateChanged(Core::CORE_UNINITIALIZED);
|
||||
|
@ -362,3 +363,8 @@ void DMainWindow::OnOpenAbout()
|
|||
DAboutDialog* dlg = new DAboutDialog(this);
|
||||
dlg->open();
|
||||
}
|
||||
|
||||
void DMainWindow::OnOpenAboutQt()
|
||||
{
|
||||
QApplication::aboutQt();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue