mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Qt: add savestate manager dialog
This commit is contained in:
parent
e2bbaa2430
commit
bd1ebb7a10
11 changed files with 1074 additions and 84 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "vfs_dialog.h"
|
||||
#include "save_manager_dialog.h"
|
||||
#include "trophy_manager_dialog.h"
|
||||
#include "savestate_manager_dialog.h"
|
||||
#include "user_manager_dialog.h"
|
||||
#include "screenshot_manager_dialog.h"
|
||||
#include "kernel_explorer.h"
|
||||
|
@ -3054,6 +3055,14 @@ void main_window::CreateConnects()
|
|||
trop_manager->show();
|
||||
});
|
||||
|
||||
connect(ui->actionManage_Savestates, &QAction::triggered, this, [this]
|
||||
{
|
||||
savestate_manager_dialog* manager = new savestate_manager_dialog(m_gui_settings, m_game_list_frame->GetGameInfo());
|
||||
connect(this, &main_window::RequestDialogRepaint, manager, &savestate_manager_dialog::HandleRepaintUiRequest);
|
||||
connect(manager, &savestate_manager_dialog::RequestBoot, this, [this](const std::string& path) { Boot(path, "", true); });
|
||||
manager->show();
|
||||
});
|
||||
|
||||
connect(ui->actionManage_Skylanders_Portal, &QAction::triggered, this, [this]
|
||||
{
|
||||
skylander_dialog* sky_diag = skylander_dialog::get_dlg(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue