diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-26 04:34:37 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-26 04:34:37 +0200 |
commit | 6793f6b706e2127bc8fb2a8fc037f19309b8f806 (patch) | |
tree | 20c6ca6b0b4eb2fa791fca74d70dcd6efc2d4d4f /gui/settingsdialog.cpp | |
parent | 767c3db29747d58bfe2881fae9a6b1aa8e05d301 (diff) | |
download | MultiMC-6793f6b706e2127bc8fb2a8fc037f19309b8f806.tar MultiMC-6793f6b706e2127bc8fb2a8fc037f19309b8f806.tar.gz MultiMC-6793f6b706e2127bc8fb2a8fc037f19309b8f806.tar.lz MultiMC-6793f6b706e2127bc8fb2a8fc037f19309b8f806.tar.xz MultiMC-6793f6b706e2127bc8fb2a8fc037f19309b8f806.zip |
Make settings dialog layouts less derpy on windows
Diffstat (limited to 'gui/settingsdialog.cpp')
-rw-r--r-- | gui/settingsdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/settingsdialog.cpp b/gui/settingsdialog.cpp index f3aa7316..909706b6 100644 --- a/gui/settingsdialog.cpp +++ b/gui/settingsdialog.cpp @@ -35,6 +35,11 @@ SettingsDialog::~SettingsDialog() { delete ui; } +void SettingsDialog::showEvent ( QShowEvent* ev ) +{ + QDialog::showEvent(ev); + adjustSize(); +} void SettingsDialog::updateCheckboxStuff() { |