diff --git a/Pdf4QtLibGui/pdfsidebarwidget.cpp b/Pdf4QtLibGui/pdfsidebarwidget.cpp index 3349cf0..e796001 100644 --- a/Pdf4QtLibGui/pdfsidebarwidget.cpp +++ b/Pdf4QtLibGui/pdfsidebarwidget.cpp @@ -553,12 +553,8 @@ void PDFSidebarWidget::updateSignatures(const std::vectorsetIcon(0, infoIcon); pdf::PDFCertificateInfo::KeyUsageFlags keyUsageFlags = currentCertificateInfo.getKeyUsage(); - if (keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageCertSign) || - keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageDigitalSignature)) - { - m_certificateInfos.push_back(currentCertificateInfo); - certRoot->setData(0, Qt::UserRole, QVariant(static_cast(m_certificateInfos.size() - 1))); - } + m_certificateInfos.push_back(currentCertificateInfo); + certRoot->setData(0, Qt::UserRole, QVariant(static_cast(m_certificateInfos.size() - 1))); auto addName = [certRoot, ¤tCertificateInfo, &infoIcon](pdf::PDFCertificateInfo::NameEntry nameEntry, QString caption) {