Skip to content

Commit

Permalink
Qt: Fix incorrectly labeled Reset Volume button
Browse files Browse the repository at this point in the history
  • Loading branch information
kamfretoz committed May 5, 2024
1 parent 6630783 commit f22393c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pcsx2-qt/Settings/AudioSettingsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ AudioSettingsWidget::AudioSettingsWidget(SettingsWindow* dialog, QWidget* parent
dialog->registerWidgetHelp(m_ui.stretchSettings, tr("Stretch Settings"), tr("N/A"),
tr("These settings fine-tune the behavior of the SoundTouch audio time stretcher when running outside of 100% speed."));
dialog->registerWidgetHelp(m_ui.resetVolume, tr("Reset Volume"), tr("N/A"),
m_dialog->isPerGameSettings() ? tr("Resets volume back to the global/inherited setting.") :
tr("Resets volume back to the default, i.e. full."));
m_dialog->isPerGameSettings() ? tr("Resets output volume back to the global/inherited setting.") :
tr("Resets output volume back to the default."));
dialog->registerWidgetHelp(m_ui.resetFastForwardVolume, tr("Reset Fast Forward Volume"), tr("N/A"),
m_dialog->isPerGameSettings() ? tr("Resets volume back to the global/inherited setting.") :
tr("Resets volume back to the default, i.e. full."));
m_dialog->isPerGameSettings() ? tr("Resets fast forward volume back to the global/inherited setting.") :
tr("Resets fast forward volume back to the default."));
}

AudioSettingsWidget::~AudioSettingsWidget() = default;
Expand Down
4 changes: 2 additions & 2 deletions pcsx2-qt/Settings/AudioSettingsWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
<item>
<widget class="QToolButton" name="resetVolume">
<property name="toolTip">
<string>Stretch Settings</string>
<string>Reset Volume</string>
</property>
<property name="icon">
<iconset theme="refresh-line"/>
Expand Down Expand Up @@ -301,7 +301,7 @@
<item>
<widget class="QToolButton" name="resetFastForwardVolume">
<property name="toolTip">
<string>Stretch Settings</string>
<string>Reset Fast Forward Volume</string>
</property>
<property name="icon">
<iconset theme="refresh-line"/>
Expand Down

0 comments on commit f22393c

Please sign in to comment.