aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-12-25 12:42:49 +0100
committerArisotura <thetotalworm@gmail.com>2020-12-25 12:42:49 +0100
commit08416329aaecec7b4ef5b17024f222573012f0ea (patch)
treeb7575554659923db0fa0af8dd1c8517bd7d146df /src/frontend
parent5025e9a989fde4c36114ba2f19c3bbc820a2b9ad (diff)
welp
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/VideoSettingsDialog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/VideoSettingsDialog.cpp b/src/frontend/qt_sdl/VideoSettingsDialog.cpp
index 1397ccd..934090d 100644
--- a/src/frontend/qt_sdl/VideoSettingsDialog.cpp
+++ b/src/frontend/qt_sdl/VideoSettingsDialog.cpp
@@ -84,6 +84,14 @@ VideoSettingsDialog::VideoSettingsDialog(QWidget* parent) : QDialog(parent), ui(
ui->cbxGLResolution->setEnabled(true);
ui->cbBetterPolygons->setEnabled(true);
}
+
+ // sorry
+ ui->cbVSync->hide();
+ ui->cbVSync->setEnabled(false);
+ ui->sbVSyncInterval->hide();
+ ui->sbVSyncInterval->setEnabled(false);
+ ui->label_2->hide();
+ ui->groupBox->layout()->addItem(new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding));
}
VideoSettingsDialog::~VideoSettingsDialog()