mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
cellSaveData/cellMsgDialog: implement cellSaveDataDelete
This commit is contained in:
parent
0b720aeb59
commit
896cfd2ade
5 changed files with 150 additions and 9 deletions
|
|
@ -93,12 +93,14 @@ void msg_dialog_frame::Create(const std::string& msg, const std::string& title)
|
|||
|
||||
connect(m_button_yes, &QAbstractButton::clicked, [=]
|
||||
{
|
||||
g_last_user_response = CELL_MSGDIALOG_BUTTON_YES;
|
||||
on_close(CELL_MSGDIALOG_BUTTON_YES);
|
||||
m_dialog->accept();
|
||||
});
|
||||
|
||||
connect(m_button_no, &QAbstractButton::clicked, [=]
|
||||
{
|
||||
g_last_user_response = CELL_MSGDIALOG_BUTTON_NO;
|
||||
on_close(CELL_MSGDIALOG_BUTTON_NO);
|
||||
m_dialog->accept();
|
||||
});
|
||||
|
|
@ -123,6 +125,7 @@ void msg_dialog_frame::Create(const std::string& msg, const std::string& title)
|
|||
|
||||
connect(m_button_ok, &QAbstractButton::clicked, [=]
|
||||
{
|
||||
g_last_user_response = CELL_MSGDIALOG_BUTTON_OK;
|
||||
on_close(CELL_MSGDIALOG_BUTTON_OK);
|
||||
m_dialog->accept();
|
||||
});
|
||||
|
|
@ -134,6 +137,7 @@ void msg_dialog_frame::Create(const std::string& msg, const std::string& title)
|
|||
{
|
||||
if (!type.disable_cancel)
|
||||
{
|
||||
g_last_user_response = CELL_MSGDIALOG_BUTTON_ESCAPE;
|
||||
on_close(CELL_MSGDIALOG_BUTTON_ESCAPE);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue