summaryrefslogtreecommitdiffstats
path: root/application/dialogs
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-03-28 21:57:41 +0200
committerPetr Mrázek <peterix@gmail.com>2018-03-28 21:57:41 +0200
commit370bbada876752fbae2a92999acab5ce5474a5ee (patch)
treefaf4a07ffde3c7f98915706dbb9a01876e42eaa0 /application/dialogs
parent1ef416cb5609bf33e9b67952feb7c182ae807e2f (diff)
downloadMultiMC-370bbada876752fbae2a92999acab5ce5474a5ee.tar
MultiMC-370bbada876752fbae2a92999acab5ce5474a5ee.tar.gz
MultiMC-370bbada876752fbae2a92999acab5ce5474a5ee.tar.lz
MultiMC-370bbada876752fbae2a92999acab5ce5474a5ee.tar.xz
MultiMC-370bbada876752fbae2a92999acab5ce5474a5ee.zip
NOISSUE polish the new instance UI a bit more
Diffstat (limited to 'application/dialogs')
-rw-r--r--application/dialogs/NewInstanceDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp
index 0631714c..900b33f7 100644
--- a/application/dialogs/NewInstanceDialog.cpp
+++ b/application/dialogs/NewInstanceDialog.cpp
@@ -70,7 +70,7 @@ NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString
m_container = new PageContainer(this);
m_container->setSizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
- m_container->setContentsMargins(0, 0, 0, 0);
+ m_container->layout()->setContentsMargins(0, 0, 0, 0);
ui->verticalLayout->insertWidget(2, m_container);
m_container->addButtons(m_buttons);