mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 09:19:58 +00:00
Disable FPS limit spinbox by default and set the maximum to 1000
Make window border and framerate limit labels consistent with other labels
This commit is contained in:
parent
b87b29eeb0
commit
9502e9f3f7
2 changed files with 6 additions and 7 deletions
|
@ -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…
Reference in a new issue