diff --git a/companion/src/releasenotesdialog.cpp b/companion/src/releasenotesdialog.cpp index 540a76ded..ec0893538 100644 --- a/companion/src/releasenotesdialog.cpp +++ b/companion/src/releasenotesdialog.cpp @@ -2,7 +2,7 @@ #include "ui_htmldialog.h" ReleaseNotesDialog::ReleaseNotesDialog(QWidget * parent) : - QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint), + QDialog(parent), ui(new Ui::HtmlDialog) { ui->setupUi(this); diff --git a/companion/src/releasenotesfirmwaredialog.cpp b/companion/src/releasenotesfirmwaredialog.cpp index cfdb005ce..e2bf546fd 100644 --- a/companion/src/releasenotesfirmwaredialog.cpp +++ b/companion/src/releasenotesfirmwaredialog.cpp @@ -3,7 +3,7 @@ #include "helpers.h" ReleaseNotesFirmwareDialog::ReleaseNotesFirmwareDialog(QWidget * parent, const QString & rnurl): - QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint), + QDialog(parent), ui(new Ui::HtmlDialog) { ui->setupUi(this);