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());
|
.arg(Crypto::backendVersion());
|
||||||
m_ui->label_libs->setText(libs);
|
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);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
|
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>375</width>
|
<width>455</width>
|
||||||
<height>210</height>
|
<height>238</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -53,7 +53,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<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>
|
||||||
<property name="openExternalLinks">
|
<property name="openExternalLinks">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -93,6 +93,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_features">
|
||||||
|
<property name="text">
|
||||||
|
<string>Extensions:
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
<property name="standardButtons">
|
<property name="standardButtons">
|
||||||
|
Loading…
Reference in New Issue
Block a user