Remove window title bar context help button

This commit is contained in:
Janek Bevendorff 2017-02-25 00:52:51 +01:00
parent 204bf81dd1
commit c248944dc1
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -34,6 +34,7 @@ AboutDialog::AboutDialog(QWidget* parent)
resize(minimumSize()); resize(minimumSize());
setWindowFlags(Qt::Sheet); setWindowFlags(Qt::Sheet);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
m_ui->nameLabel->setText(m_ui->nameLabel->text() + " " + KEEPASSX_VERSION); m_ui->nameLabel->setText(m_ui->nameLabel->text() + " " + KEEPASSX_VERSION);
QFont nameLabelFont = m_ui->nameLabel->font(); QFont nameLabelFont = m_ui->nameLabel->font();