mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Qt: Make 'About Qt' action actually open the about box
This commit is contained in:
parent
406270bcf9
commit
64cf6d167f
@ -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();
|
||||
}
|
||||
|
@ -58,6 +58,7 @@ private slots:
|
||||
void OnOpenGitHub();
|
||||
void OnOpenSystemInfo();
|
||||
void OnOpenAbout();
|
||||
void OnOpenAboutQt();
|
||||
|
||||
// Misc.
|
||||
void UpdateIcons();
|
||||
|
Loading…
Reference in New Issue
Block a user