diff --git a/CMakeLists.txt b/CMakeLists.txt index 53b391d..ecfae6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models") set(META_VERSION_MAJOR 6) set(META_VERSION_MINOR 4) -set(META_VERSION_PATCH 0) +set(META_VERSION_PATCH 1) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) project(${META_PROJECT_NAME}) diff --git a/aboutdialog/aboutdialog.cpp b/aboutdialog/aboutdialog.cpp index 52bc0a8..2a3280d 100644 --- a/aboutdialog/aboutdialog.cpp +++ b/aboutdialog/aboutdialog.cpp @@ -45,7 +45,7 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &applicationName, const m_ui->setupUi(this); makeHeading(m_ui->productNameLabel); setStyleSheet(dialogStyle()); - setWindowFlags(Qt::Tool); + setWindowFlags((windowFlags()) & ~(Qt::WindowMinMaxButtonsHint | Qt::WindowContextHelpButtonHint | Qt::WindowFullscreenButtonHint)); if (!applicationName.isEmpty()) { m_ui->productNameLabel->setText(applicationName); } else if (!QApplication::applicationDisplayName().isEmpty()) {