Qt: Disable All Enhancements -> Safe Mode in Debug menu

This commit is contained in:
Stenzek 2024-11-29 13:17:58 +10:00
parent 3ed6cc2ba8
commit 6d72a48708
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -2036,8 +2036,8 @@ void MainWindow::connectSignals()
Settings::DEFAULT_LOG_LEVEL, Log::Level::MaxCount); Settings::DEFAULT_LOG_LEVEL, Log::Level::MaxCount);
connect(m_ui.menuLogChannels, &QMenu::aboutToShow, this, &MainWindow::onDebugLogChannelsMenuAboutToShow); connect(m_ui.menuLogChannels, &QMenu::aboutToShow, this, &MainWindow::onDebugLogChannelsMenuAboutToShow);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDisableAllEnhancements, "Main", SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionEnableSafeMode, "Main", "DisableAllEnhancements",
"DisableAllEnhancements", false); false);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpCPUtoVRAMCopies, "Debug", SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpCPUtoVRAMCopies, "Debug",
"DumpCPUToVRAMCopies", false); "DumpCPUToVRAMCopies", false);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpVRAMtoCPUCopies, "Debug", SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpVRAMtoCPUCopies, "Debug",

View File

@ -166,7 +166,7 @@
<addaction name="menuCPUExecutionMode"/> <addaction name="menuCPUExecutionMode"/>
<addaction name="menuRenderer"/> <addaction name="menuRenderer"/>
<addaction name="menuCropMode"/> <addaction name="menuCropMode"/>
<addaction name="actionDisableAllEnhancements"/> <addaction name="actionEnableSafeMode"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="menuLogLevel"/> <addaction name="menuLogLevel"/>
<addaction name="menuLogChannels"/> <addaction name="menuLogChannels"/>
@ -634,12 +634,12 @@
<string>Dump VRAM to CPU Copies</string> <string>Dump VRAM to CPU Copies</string>
</property> </property>
</action> </action>
<action name="actionDisableAllEnhancements"> <action name="actionEnableSafeMode">
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Disable All Enhancements</string> <string>Enable Safe Mode</string>
</property> </property>
</action> </action>
<action name="actionDumpRAM"> <action name="actionDumpRAM">