make settings size vary based on sizeHint() (#2472)

This commit is contained in:
Zach H 2017-03-14 17:48:02 -04:00 committed by GitHub
parent 6e723b2a99
commit 37b43f9916

View file

@ -752,6 +752,9 @@ void SoundSettingsPage::retranslateUi() {
DlgSettings::DlgSettings(QWidget *parent) DlgSettings::DlgSettings(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
this->setMinimumSize(500,500);
this->adjustSize();
connect(settingsCache, SIGNAL(langChanged()), this, SLOT(updateLanguage())); connect(settingsCache, SIGNAL(langChanged()), this, SLOT(updateLanguage()));
contentsWidget = new QListWidget; contentsWidget = new QListWidget;