mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
QT: Add reset button
This commit is contained in:
parent
5988750fe4
commit
6c6fe8d724
3 changed files with 15 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "Core/BootManager.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/HW/ProcessorInterface.h"
|
||||
|
||||
#include "DolphinQt/AboutDialog.h"
|
||||
#include "DolphinQt/MainWindow.h"
|
||||
|
@ -70,6 +71,7 @@ DMainWindow::DMainWindow(QWidget* parent_widget)
|
|||
connect(m_game_tracker, SIGNAL(StartGame()), this, SLOT(OnPlay()));
|
||||
connect(m_ui->actionStop, SIGNAL(triggered()), this, SLOT(OnStop()));
|
||||
connect(m_ui->actionStop_mnu, SIGNAL(triggered()), this, SLOT(OnStop()));
|
||||
connect(m_ui->actionReset, SIGNAL(triggered()), this, SLOT(OnReset()));
|
||||
|
||||
connect(m_ui->actionWebsite, SIGNAL(triggered()), this, SLOT(OnOpenWebsite()));
|
||||
connect(m_ui->actionOnlineDocs, SIGNAL(triggered()), this, SLOT(OnOpenDocs()));
|
||||
|
@ -270,6 +272,12 @@ bool DMainWindow::Stop()
|
|||
return true;
|
||||
}
|
||||
|
||||
void DMainWindow::OnReset()
|
||||
{
|
||||
// TODO: Movie needs to be reset here
|
||||
ProcessorInterface::ResetButton_Tap();
|
||||
}
|
||||
|
||||
void DMainWindow::OnGameListStyleChanged()
|
||||
{
|
||||
if (m_ui->actionListView->isChecked())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue