mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-20 18:56:07 -05:00
Expose version of used libraries in the About dialog.
This commit is contained in:
parent
58ed99d562
commit
316a7e6fb7
4 changed files with 23 additions and 1 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#include "config-keepassx.h"
|
||||
#include "version.h"
|
||||
#include "core/FilePath.h"
|
||||
#include "crypto/Crypto.h"
|
||||
|
||||
AboutDialog::AboutDialog(QWidget* parent)
|
||||
: QDialog(parent)
|
||||
|
|
@ -49,6 +50,12 @@ AboutDialog::AboutDialog(QWidget* parent)
|
|||
m_ui->label_git->setText(labelText);
|
||||
}
|
||||
|
||||
QString libs = QString("%1\n- Qt %2\n- %3")
|
||||
.arg(m_ui->label_libs->text())
|
||||
.arg(QString::fromLocal8Bit(qVersion()))
|
||||
.arg(Crypto::backendVersion());
|
||||
m_ui->label_libs->setText(libs);
|
||||
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue