|
|
|
|
@ -10,10 +10,10 @@
|
|
|
|
|
#include "qthostdisplay.h"
|
|
|
|
|
#include "qthostinterface.h"
|
|
|
|
|
#include "qtsettingsinterface.h"
|
|
|
|
|
#include "qtutils.h"
|
|
|
|
|
#include "scmversion/scmversion.h"
|
|
|
|
|
#include "settingsdialog.h"
|
|
|
|
|
#include "settingwidgetbinder.h"
|
|
|
|
|
#include "qtutils.h"
|
|
|
|
|
#include <QtCore/QDebug>
|
|
|
|
|
#include <QtCore/QFileInfo>
|
|
|
|
|
#include <QtCore/QUrl>
|
|
|
|
|
@ -524,8 +524,10 @@ void MainWindow::connectSignals()
|
|
|
|
|
connect(m_ui.actionReset, &QAction::triggered, m_host_interface, &QtHostInterface::resetSystem);
|
|
|
|
|
connect(m_ui.actionPause, &QAction::toggled, m_host_interface, &QtHostInterface::pauseSystem);
|
|
|
|
|
connect(m_ui.actionScreenshot, &QAction::triggered, m_host_interface, &QtHostInterface::saveScreenshot);
|
|
|
|
|
connect(m_ui.actionRefreshGameList, &QAction::triggered, this,
|
|
|
|
|
connect(m_ui.actionScanForNewGames, &QAction::triggered, this,
|
|
|
|
|
[this]() { m_host_interface->refreshGameList(false, false); });
|
|
|
|
|
connect(m_ui.actionRescanAllGames, &QAction::triggered, this,
|
|
|
|
|
[this]() { m_host_interface->refreshGameList(true, false); });
|
|
|
|
|
connect(m_ui.actionLoadState, &QAction::triggered, this, [this]() { m_ui.menuLoadState->exec(QCursor::pos()); });
|
|
|
|
|
connect(m_ui.actionSaveState, &QAction::triggered, this, [this]() { m_ui.menuSaveState->exec(QCursor::pos()); });
|
|
|
|
|
connect(m_ui.actionExit, &QAction::triggered, this, &MainWindow::close);
|
|
|
|
|
|