AboutDialog: Disable resizing the About window
This commit is contained in:
parent
d0b7c96fdb
commit
a76ed94120
|
@ -100,6 +100,7 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
|
||||||
QHBoxLayout* h_layout = new QHBoxLayout;
|
QHBoxLayout* h_layout = new QHBoxLayout;
|
||||||
|
|
||||||
setLayout(main_layout);
|
setLayout(main_layout);
|
||||||
|
main_layout->setSizeConstraint(QLayout::SetFixedSize);
|
||||||
main_layout->addLayout(h_layout);
|
main_layout->addLayout(h_layout);
|
||||||
main_layout->addWidget(copyright);
|
main_layout->addWidget(copyright);
|
||||||
copyright->setAlignment(Qt::AlignCenter);
|
copyright->setAlignment(Qt::AlignCenter);
|
||||||
|
|
Loading…
Reference in New Issue