Disable FPS limit spinbox by default and set the maximum to 1000

Make window border and framerate limit labels consistent with other labels
pull/2404/head
Capostrophic 6 years ago
parent b87b29eeb0
commit 9502e9f3f7

@ -128,10 +128,6 @@ bool Launcher::GraphicsPage::loadSettings()
framerateLimitCheckBox->setCheckState(Qt::Checked);
framerateLimitSpinBox->setValue(fpsLimit);
}
else
{
framerateLimitSpinBox->setEnabled(false);
}
return true;
}

@ -34,7 +34,7 @@
<item row="2" column="0">
<widget class="QCheckBox" name="windowBorderCheckBox">
<property name="text">
<string>Window border</string>
<string>Window Border</string>
</property>
</widget>
</item>
@ -65,7 +65,7 @@
<item row="6" column="0">
<widget class="QCheckBox" name="framerateLimitCheckBox">
<property name="text">
<string>Framerate limit</string>
<string>Framerate Limit:</string>
</property>
</widget>
</item>
@ -152,6 +152,9 @@
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="framerateLimitSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> FPS</string>
</property>
@ -162,7 +165,7 @@
<double>1</double>
</property>
<property name="maximum">
<double>999</double>
<double>1000</double>
</property>
<property name="singleStep">
<double>15</double>

Loading…
Cancel
Save