diff --git a/qt/about.cpp b/qt/about.cpp index 629475d328..a477ea5dfc 100644 --- a/qt/about.cpp +++ b/qt/about.cpp @@ -12,7 +12,7 @@ #include AboutDialog::AboutDialog(QWidget * parent) - : QDialog(parent) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint) { QIcon icon(":logo.png"); setWindowIcon(icon); diff --git a/qt/info_dialog.cpp b/qt/info_dialog.cpp index 92a948882a..a93b83ee86 100644 --- a/qt/info_dialog.cpp +++ b/qt/info_dialog.cpp @@ -11,7 +11,7 @@ namespace qt { InfoDialog::InfoDialog(QString const & title, QString const & text, QWidget * parent, QStringList const & buttons) - : QDialog(parent) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint) { QIcon icon(":logo.png"); setWindowIcon(icon); diff --git a/qt/preferences_dialog.cpp b/qt/preferences_dialog.cpp index 38d35630a0..89d4e8f2e5 100644 --- a/qt/preferences_dialog.cpp +++ b/qt/preferences_dialog.cpp @@ -7,7 +7,7 @@ namespace qt { PreferencesDialog::PreferencesDialog(QWidget * parent, bool & autoUpdatesEnabled) - : QDialog(parent), m_autoUpdatesEnabled(autoUpdatesEnabled) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint), m_autoUpdatesEnabled(autoUpdatesEnabled) { QIcon icon(":logo.png"); setWindowIcon(icon); diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp index ebe7b08243..479e7b33c5 100644 --- a/qt/update_dialog.cpp +++ b/qt/update_dialog.cpp @@ -56,7 +56,7 @@ namespace qt //////////////////////////////////////////////////////////////////////////////// UpdateDialog::UpdateDialog(QWidget * parent, Storage & storage) - : QDialog(parent), m_storage(storage) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint), m_storage(storage) { setWindowModality(Qt::WindowModal);