Added contributors to about dialog; general cleanup

This commit is contained in:
Jonathan White 2017-06-07 19:33:14 -04:00
parent cb63df2bac
commit 7654983d3d
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
2 changed files with 84 additions and 16 deletions

View file

@ -37,7 +37,7 @@ AboutDialog::AboutDialog(QWidget* parent)
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().replace("${VERSION}", KEEPASSX_VERSION));
QFont nameLabelFont = m_ui->nameLabel->font();
nameLabelFont.setPointSize(nameLabelFont.pointSize() + 4);
m_ui->nameLabel->setFont(nameLabelFont);