Skip to content

Commit 4f347bf

Browse files
committed
Qt: Add missing display setting help text
1 parent 9607b6d commit 4f347bf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/core/fullscreen_ui.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6952,6 +6952,7 @@ TRANSLATE_NOOP("FullscreenUI", "Show Controller Input");
69526952
TRANSLATE_NOOP("FullscreenUI", "Show Enhancement Settings");
69536953
TRANSLATE_NOOP("FullscreenUI", "Show FPS");
69546954
TRANSLATE_NOOP("FullscreenUI", "Show Frame Times");
6955+
TRANSLATE_NOOP("FullscreenUI", "Show GPU Statistics");
69556956
TRANSLATE_NOOP("FullscreenUI", "Show GPU Usage");
69566957
TRANSLATE_NOOP("FullscreenUI", "Show OSD Messages");
69576958
TRANSLATE_NOOP("FullscreenUI", "Show Resolution");
@@ -6960,6 +6961,7 @@ TRANSLATE_NOOP("FullscreenUI", "Show Status Indicators");
69606961
TRANSLATE_NOOP("FullscreenUI", "Shows a visual history of frame times in the upper-left corner of the display.");
69616962
TRANSLATE_NOOP("FullscreenUI", "Shows enhancement settings in the bottom-right corner of the screen.");
69626963
TRANSLATE_NOOP("FullscreenUI", "Shows icons in the lower-right corner of the screen when a challenge/primed achievement is active.");
6964+
TRANSLATE_NOOP("FullscreenUI", "Shows information about the emulated GPU in the top-right corner of the display.");
69636965
TRANSLATE_NOOP("FullscreenUI", "Shows on-screen-display messages when events occur.");
69646966
TRANSLATE_NOOP("FullscreenUI", "Shows persistent icons when turbo is active or when paused.");
69656967
TRANSLATE_NOOP("FullscreenUI", "Shows the current controller state of the system in the bottom-left corner of the display.");

src/duckstation-qt/displaysettingswidget.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DisplaySettingsWidget::DisplaySettingsWidget(SettingsWindow* dialog, QWidget* pa
5757
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.showGPU, "Display", "ShowGPU", false);
5858
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.showInput, "Display", "ShowInputs", false);
5959
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.showGPUStatistics, "Display", "ShowGPUStatistics", false);
60-
60+
6161
connect(m_ui.renderer, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
6262
&DisplaySettingsWidget::populateGPUAdaptersAndResolutions);
6363
connect(m_ui.adapter, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
@@ -129,6 +129,10 @@ DisplaySettingsWidget::DisplaySettingsWidget(SettingsWindow* dialog, QWidget* pa
129129
tr("Shows the host's CPU usage based on threads in the top-right corner of the display. This does not display the "
130130
"emulated system CPU's usage. If a value close to 100% is being displayed, this means your host's CPU is likely "
131131
"the bottleneck. In this case, you should reduce enhancement-related settings such as overclocking."));
132+
dialog->registerWidgetHelp(m_ui.showGPUStatistics, tr("Show GPU Statistics"), tr("Unchecked"),
133+
tr("Shows information about the emulated GPU in the top-right corner of the display."));
134+
dialog->registerWidgetHelp(m_ui.showGPU, tr("Show GPU Usage"), tr("Unchecked"),
135+
tr("Shows the host's GPU usage in the top-right corner of the display."));
132136
dialog->registerWidgetHelp(
133137
m_ui.showInput, tr("Show Controller Input"), tr("Unchecked"),
134138
tr("Shows the current controller state of the system in the bottom-left corner of the display."));

0 commit comments

Comments
 (0)