Merge pull request #3623 from rukai/dolphinQtAbout

DQt2: About Dialog
This commit is contained in:
Mathew Maidment
2016-03-09 03:16:40 -05:00
7 changed files with 111 additions and 2 deletions

View File

@ -10,6 +10,7 @@
#include "Core/BootManager.h"
#include "Core/Core.h"
#include "DolphinQt2/AboutDialog.h"
#include "DolphinQt2/Host.h"
#include "DolphinQt2/MainWindow.h"
#include "DolphinQt2/Resources.h"
@ -54,6 +55,7 @@ void MainWindow::ConnectMenuBar()
connect(m_menu_bar, &MenuBar::Exit, this, &MainWindow::close);
connect(m_menu_bar, &MenuBar::ShowTable, m_game_list, &GameList::SetTableView);
connect(m_menu_bar, &MenuBar::ShowList, m_game_list, &GameList::SetListView);
connect(m_menu_bar, &MenuBar::ShowAboutDialog, this, &MainWindow::ShowAboutDialog);
}
void MainWindow::ConnectToolBar()
@ -261,3 +263,9 @@ void MainWindow::ShowPathsDialog()
m_paths_dialog->raise();
m_paths_dialog->activateWindow();
}
void MainWindow::ShowAboutDialog()
{
AboutDialog* about = new AboutDialog(this);
about->show();
}