mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 22:23:43 +00:00
Fix more clang-tidy unhappines
This commit is contained in:
parent
20b34d00c9
commit
b52adfeaee
|
@ -334,7 +334,7 @@ class PickPointEngine2 : public PickPointEngine
|
|||
Okular::Annotation * ann = nullptr;
|
||||
|
||||
Okular::CertificateStore* certStore = m_document->getCertStore();
|
||||
QList<Okular::CertificateInfo*> certs = certStore->getSigningCertificates();
|
||||
const QList<Okular::CertificateInfo*>& certs = certStore->getSigningCertificates();
|
||||
|
||||
QStringList items;
|
||||
for( auto cert : certs )
|
||||
|
@ -899,8 +899,8 @@ QRect PageViewAnnotator::performRouteMouseOrTabletEvent(const AnnotatorEngine::E
|
|||
|
||||
if (signatureMode() && eventType == AnnotatorEngine::Press) {
|
||||
QDomElement elem;
|
||||
elem.setTagName("engine");
|
||||
elem.setAttribute("block", 1);
|
||||
elem.setTagName(QStringLiteral("engine"));
|
||||
elem.setAttribute(QStringLiteral("block"), 1);
|
||||
m_engine = new PickPointEngine2(elem, m_document);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue