fix: avoid hard-code the size of the settings dialog

This commit is contained in:
2023-06-18 22:54:41 +08:00
parent a29a1806a3
commit c51ec4bd5d

View File

@ -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);
}