From 6793f6b706e2127bc8fb2a8fc037f19309b8f806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 26 Aug 2013 04:34:37 +0200 Subject: Make settings dialog layouts less derpy on windows --- gui/settingsdialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gui/settingsdialog.cpp') 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() { -- cgit v1.2.3