Changed anal options description

This commit is contained in:
Hugo Teso 2017-04-10 14:39:38 +02:00
parent 3b147a00bb
commit 4b4fdef868
2 changed files with 9 additions and 9 deletions

View File

@ -277,15 +277,15 @@ QString OptionsDialog::analysisDescription(int level)
switch(level) switch(level)
{ {
case 0: case 0:
return tr("Disabled"); return tr("Analysis disabled");
case 1: case 1:
return tr("Finger"); return tr("Minimum analysis");
case 2: case 2:
return tr("Buttplug"); return tr("Basic analysis");
case 3: case 3:
return tr("Dildo"); return tr("Medium analysis");
case 4: case 4:
return tr("Fisting"); return tr("Full analysis (Slow)");
default: default:
return tr("Unknown"); return tr("Unknown");
} }
@ -293,7 +293,7 @@ QString OptionsDialog::analysisDescription(int level)
void OptionsDialog::on_analSlider_valueChanged(int value) void OptionsDialog::on_analSlider_valueChanged(int value)
{ {
ui->analDescription->setText(tr("Analysis") + QString(" (%1)").arg(analysisDescription(value))); ui->analDescription->setText(tr("Level") + QString(" - %1").arg(analysisDescription(value)));
if (value == 0) if (value == 0)
{ {
ui->analCheckBox->setChecked(false); ui->analCheckBox->setChecked(false);

View File

@ -202,14 +202,14 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Analysis</string> <string>Level</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing"> <property name="spacing">
<number>10</number> <number>15</number>
</property> </property>
<item> <item>
<widget class="QCheckBox" name="analCheckBox"> <widget class="QCheckBox" name="analCheckBox">
@ -257,7 +257,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="tickPosition"> <property name="tickPosition">
<enum>QSlider::TicksBelow</enum> <enum>QSlider::NoTicks</enum>
</property> </property>
</widget> </widget>
</item> </item>