fix: avoid hard-code the size of the settings dialog
This commit is contained in:
parent
a29a1806a3
commit
c51ec4bd5d
|
@ -85,7 +85,7 @@ SettingsDialog::SettingsDialog(QWidget *parent)
|
|||
Settings::instance()->setInitWindowSizeBehavior(_iws_options.at(index).first);
|
||||
});
|
||||
|
||||
this->setMinimumSize(300, 120); // not sure why it complain "Unable to set geometry"
|
||||
adjustSize();
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user