summaryrefslogtreecommitdiffstats
path: root/gui/instancesettings.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-26 04:34:37 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-26 04:34:37 +0200
commit6793f6b706e2127bc8fb2a8fc037f19309b8f806 (patch)
tree20c6ca6b0b4eb2fa791fca74d70dcd6efc2d4d4f /gui/instancesettings.cpp
parent767c3db29747d58bfe2881fae9a6b1aa8e05d301 (diff)
downloadMultiMC-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/instancesettings.cpp')
-rw-r--r--gui/instancesettings.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/instancesettings.cpp b/gui/instancesettings.cpp
index 8a973665..dfb04f3d 100644
--- a/gui/instancesettings.cpp
+++ b/gui/instancesettings.cpp
@@ -34,6 +34,12 @@ InstanceSettings::~InstanceSettings()
delete ui;
}
+void InstanceSettings::showEvent ( QShowEvent* ev )
+{
+ QDialog::showEvent(ev);
+ adjustSize();
+}
+
void InstanceSettings::on_customCommandsGroupBox_toggled(bool state)
{
ui->labelCustomCmdsDescription->setEnabled(state);