Skip to content

Commit

Permalink
Qt: Disable All Enhancements -> Safe Mode in Debug menu
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 29, 2024
1 parent 3ed6cc2 commit 6d72a48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/duckstation-qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2036,8 +2036,8 @@ void MainWindow::connectSignals()
Settings::DEFAULT_LOG_LEVEL, Log::Level::MaxCount);
connect(m_ui.menuLogChannels, &QMenu::aboutToShow, this, &MainWindow::onDebugLogChannelsMenuAboutToShow);

SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDisableAllEnhancements, "Main",
"DisableAllEnhancements", false);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionEnableSafeMode, "Main", "DisableAllEnhancements",
false);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpCPUtoVRAMCopies, "Debug",
"DumpCPUToVRAMCopies", false);
SettingWidgetBinder::BindWidgetToBoolSetting(nullptr, m_ui.actionDebugDumpVRAMtoCPUCopies, "Debug",
Expand Down
6 changes: 3 additions & 3 deletions src/duckstation-qt/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<addaction name="menuCPUExecutionMode"/>
<addaction name="menuRenderer"/>
<addaction name="menuCropMode"/>
<addaction name="actionDisableAllEnhancements"/>
<addaction name="actionEnableSafeMode"/>
<addaction name="separator"/>
<addaction name="menuLogLevel"/>
<addaction name="menuLogChannels"/>
Expand Down Expand Up @@ -634,12 +634,12 @@
<string>Dump VRAM to CPU Copies</string>
</property>
</action>
<action name="actionDisableAllEnhancements">
<action name="actionEnableSafeMode">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Disable All Enhancements</string>
<string>Enable Safe Mode</string>
</property>
</action>
<action name="actionDumpRAM">
Expand Down

0 comments on commit 6d72a48

Please sign in to comment.