diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-12-25 12:42:49 +0100 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-12-25 12:42:49 +0100 |
commit | 08416329aaecec7b4ef5b17024f222573012f0ea (patch) | |
tree | b7575554659923db0fa0af8dd1c8517bd7d146df /src/frontend | |
parent | 5025e9a989fde4c36114ba2f19c3bbc820a2b9ad (diff) |
welp
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/qt_sdl/VideoSettingsDialog.cpp | 8 |
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() |