mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 23:03:18 +00:00
Fix space (#2594)
* Add missing space so only once translation is auto-generated * Use suggested format * delete an extra space --------- Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
This commit is contained in:
parent
ba109a4c53
commit
f4bf53402f
2 changed files with 6 additions and 6 deletions
|
@ -105,13 +105,13 @@ KBMSettings::KBMSettings(std::shared_ptr<GameInfoClass> game_info_get, QWidget*
|
||||||
|
|
||||||
connect(ui->DeadzoneOffsetSlider, &QSlider::valueChanged, this, [this](int value) {
|
connect(ui->DeadzoneOffsetSlider, &QSlider::valueChanged, this, [this](int value) {
|
||||||
QString DOSValue = QString::number(value / 100.0, 'f', 2);
|
QString DOSValue = QString::number(value / 100.0, 'f', 2);
|
||||||
QString DOSString = tr("Deadzone Offset (def 0.50): ") + DOSValue;
|
QString DOSString = tr("Deadzone Offset (def 0.50):") + " " + DOSValue;
|
||||||
ui->DeadzoneOffsetLabel->setText(DOSString);
|
ui->DeadzoneOffsetLabel->setText(DOSString);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(ui->SpeedMultiplierSlider, &QSlider::valueChanged, this, [this](int value) {
|
connect(ui->SpeedMultiplierSlider, &QSlider::valueChanged, this, [this](int value) {
|
||||||
QString SMSValue = QString::number(value / 10.0, 'f', 1);
|
QString SMSValue = QString::number(value / 10.0, 'f', 1);
|
||||||
QString SMSString = tr("Speed Multiplier (def 1.0): ") + SMSValue;
|
QString SMSString = tr("Speed Multiplier (def 1.0):") + " " + SMSValue;
|
||||||
ui->SpeedMultiplierLabel->setText(SMSString);
|
ui->SpeedMultiplierLabel->setText(SMSString);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -576,7 +576,7 @@ void KBMSettings::SetUIValuestoMappings(std::string config_id) {
|
||||||
int DOffsetInt = int(DOffsetValue);
|
int DOffsetInt = int(DOffsetValue);
|
||||||
ui->DeadzoneOffsetSlider->setValue(DOffsetInt);
|
ui->DeadzoneOffsetSlider->setValue(DOffsetInt);
|
||||||
QString LabelValue = QString::number(DOffsetInt / 100.0, 'f', 2);
|
QString LabelValue = QString::number(DOffsetInt / 100.0, 'f', 2);
|
||||||
QString LabelString = tr("Deadzone Offset (def 0.50): ") + LabelValue;
|
QString LabelString = tr("Deadzone Offset (def 0.50):") + " " + LabelValue;
|
||||||
ui->DeadzoneOffsetLabel->setText(LabelString);
|
ui->DeadzoneOffsetLabel->setText(LabelString);
|
||||||
|
|
||||||
std::string SMSOstring = line.substr(comma_pos + 1);
|
std::string SMSOstring = line.substr(comma_pos + 1);
|
||||||
|
@ -591,7 +591,7 @@ void KBMSettings::SetUIValuestoMappings(std::string config_id) {
|
||||||
SpeedMultInt = 50;
|
SpeedMultInt = 50;
|
||||||
ui->SpeedMultiplierSlider->setValue(SpeedMultInt);
|
ui->SpeedMultiplierSlider->setValue(SpeedMultInt);
|
||||||
LabelValue = QString::number(SpeedMultInt / 10.0, 'f', 1);
|
LabelValue = QString::number(SpeedMultInt / 10.0, 'f', 1);
|
||||||
LabelString = tr("Speed Multiplier (def 1.0): ") + LabelValue;
|
LabelString = tr("Speed Multiplier (def 1.0):") + " " + LabelValue;
|
||||||
ui->SpeedMultiplierLabel->setText(LabelString);
|
ui->SpeedMultiplierLabel->setText(LabelString);
|
||||||
|
|
||||||
std::string SOstring = SMSOstring.substr(comma_pos2 + 1);
|
std::string SOstring = SMSOstring.substr(comma_pos2 + 1);
|
||||||
|
@ -599,7 +599,7 @@ void KBMSettings::SetUIValuestoMappings(std::string config_id) {
|
||||||
int SOffsetInt = int(SOffsetValue);
|
int SOffsetInt = int(SOffsetValue);
|
||||||
ui->SpeedOffsetSlider->setValue(SOffsetInt);
|
ui->SpeedOffsetSlider->setValue(SOffsetInt);
|
||||||
LabelValue = QString::number(SOffsetInt / 1000.0, 'f', 3);
|
LabelValue = QString::number(SOffsetInt / 1000.0, 'f', 3);
|
||||||
LabelString = tr("Speed Offset (def 0.125): ") + LabelValue;
|
LabelString = tr("Speed Offset (def 0.125):") + " " + LabelValue;
|
||||||
ui->SpeedOffsetLabel->setText(LabelString);
|
ui->SpeedOffsetLabel->setText(LabelString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -634,7 +634,7 @@
|
||||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Copy from Common Config</string>
|
<string>Copy from Common Config</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue