From d8e523978ca5f48fa1e64c76090cbc3547e60b0b Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 1 Mar 2021 14:08:08 -0600 Subject: [PATCH] [GUI] Add window decorations to About --- src/Gui/Splashscreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 865d56344e..692f13a3e0 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -232,12 +232,13 @@ void AboutDialogFactory::setDefaultFactory(AboutDialogFactory *f) * The dialog will be modal. */ AboutDialog::AboutDialog(bool showLic, QWidget* parent) - : QDialog(parent, Qt::FramelessWindowHint), ui(new Ui_AboutApplication) + : QDialog(parent), ui(new Ui_AboutApplication) { Q_UNUSED(showLic); setModal(true); ui->setupUi(this); + layout()->setSizeConstraint(QLayout::SetFixedSize); #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) QRect rect = QApplication::primaryScreen()->availableGeometry(); #else