From 9502e9f3f7a049ceb1aa879d6138fb47588909ca Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Thu, 30 May 2019 08:48:39 +0300 Subject: [PATCH] Disable FPS limit spinbox by default and set the maximum to 1000 Make window border and framerate limit labels consistent with other labels --- apps/launcher/graphicspage.cpp | 4 ---- files/ui/graphicspage.ui | 9 ++++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index f9d8e1e1d8..c991e79f4d 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -128,10 +128,6 @@ bool Launcher::GraphicsPage::loadSettings() framerateLimitCheckBox->setCheckState(Qt::Checked); framerateLimitSpinBox->setValue(fpsLimit); } - else - { - framerateLimitSpinBox->setEnabled(false); - } return true; } diff --git a/files/ui/graphicspage.ui b/files/ui/graphicspage.ui index 1f91fb19d1..eba913b919 100644 --- a/files/ui/graphicspage.ui +++ b/files/ui/graphicspage.ui @@ -34,7 +34,7 @@ - Window border + Window Border @@ -65,7 +65,7 @@ - Framerate limit + Framerate Limit: @@ -152,6 +152,9 @@ + + false + FPS @@ -162,7 +165,7 @@ 1 - 999 + 1000 15