Qt: Fix incorrectly labeled Reset Volume button

This commit is contained in:
KamFretoZ 2024-05-05 20:30:24 +07:00 committed by Connor McLaughlin
parent 6630783686
commit 89749f2206
2 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -252,10 +252,10 @@
<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"/>
<iconset theme="restart-line"/>
</property>
</widget>
</item>
@ -301,10 +301,10 @@
<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"/>
<iconset theme="restart-line"/>
</property>
</widget>
</item>