mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Added extensions section in about dialog; fixed url as well
This commit is contained in:
parent
65992ba6ae
commit
fa891edb7c
@ -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()));
|
||||
}
|
||||
|
@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>375</width>
|
||||
<height>210</height>
|
||||
<width>455</width>
|
||||
<height>238</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -53,7 +53,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"><a href="http://www.keepassx.org/">http://www.keepassx.org/</a></string>
|
||||
<string notr="true"><a href="https://www.keepassxc.org/">https://www.keepassxc.org/</a></string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
@ -93,6 +93,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_features">
|
||||
<property name="text">
|
||||
<string>Extensions:
|
||||
</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="standardButtons">
|
||||
|
Loading…
Reference in New Issue
Block a user