mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
Qt: remove "Send Exit CMD" menu option
This is pointless now, since we always exit games with this command.
This commit is contained in:
parent
f3fa7119ac
commit
9554adda28
@ -1665,7 +1665,6 @@ void main_window::EnableMenus(bool enabled) const
|
||||
|
||||
// PS3 Commands
|
||||
ui->sysSendOpenMenuAct->setEnabled(enabled);
|
||||
ui->sysSendExitAct->setEnabled(enabled);
|
||||
|
||||
// Tools
|
||||
ui->toolskernel_explorerAct->setEnabled(enabled);
|
||||
@ -2046,14 +2045,6 @@ void main_window::CreateConnects()
|
||||
ui->sysSendOpenMenuAct->setText(tr("Send &%0 system menu cmd").arg(m_sys_menu_opened ? tr("close") : tr("open")));
|
||||
});
|
||||
|
||||
connect(ui->sysSendExitAct, &QAction::triggered, this, []()
|
||||
{
|
||||
if (Emu.IsStopped()) return;
|
||||
|
||||
gui_log.notice("User triggered \"Send exit command\" action in menu bar");
|
||||
sysutil_send_system_cmd(0x0101 /* CELL_SYSUTIL_REQUEST_EXITGAME */, 0);
|
||||
});
|
||||
|
||||
const auto open_settings = [this](int tabIndex)
|
||||
{
|
||||
settings_dialog dlg(m_gui_settings, m_emu_settings, tabIndex, this);
|
||||
|
@ -223,7 +223,6 @@
|
||||
<addaction name="sysRebootAct"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="sysSendOpenMenuAct"/>
|
||||
<addaction name="sysSendExitAct"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuConfiguration">
|
||||
<property name="title">
|
||||
@ -477,14 +476,6 @@
|
||||
<string>Send Open System Menu CMD</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="sysSendExitAct">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Send Exit CMD</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="confCPUAct">
|
||||
<property name="text">
|
||||
<string>CPU</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user