Added extensions section in about dialog; fixed url as well

This commit is contained in:
Jonathan White 2016-12-07 22:40:09 -05:00
parent 65992ba6ae
commit fa891edb7c
No known key found for this signature in database
GPG key ID: 506BDC439519BC13
2 changed files with 27 additions and 3 deletions

View file

@ -56,6 +56,22 @@ AboutDialog::AboutDialog(QWidget* parent)
.arg(Crypto::backendVersion());
m_ui->label_libs->setText(libs);
QString extensions;
#ifdef WITH_XC_HTTP
extensions += "- KeePassHTTP\n";
#endif
#ifdef WITH_XC_AUTOTYPE
extensions += "- Autotype\n";
#endif
#ifdef WITH_XC_YUBIKEY
extensions += "- Yubikey\n";
#endif
if (extensions.isEmpty())
extensions = "None";
m_ui->label_features->setText(m_ui->label_features->text() + extensions);
setAttribute(Qt::WA_DeleteOnClose);
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
}