diff --git a/generators/poppler/certificatetools.h b/generators/poppler/certificatetools.h index e84d3c6d9..1ee1753a7 100644 --- a/generators/poppler/certificatetools.h +++ b/generators/poppler/certificatetools.h @@ -18,7 +18,7 @@ class CertificateTools : public QWidget { Q_OBJECT - Q_PROPERTY( QStringList certificates READ certificates WRITE setCertificates NOTIFY changed USER true ) + Q_PROPERTY(QStringList certificates READ certificates WRITE setCertificates NOTIFY changed USER true) public: explicit CertificateTools( QWidget * parent = nullptr ); diff --git a/part/pageviewannotator.cpp b/part/pageviewannotator.cpp index fa546d351..2794b0df6 100644 --- a/part/pageviewannotator.cpp +++ b/part/pageviewannotator.cpp @@ -853,9 +853,9 @@ PageViewAnnotator::~PageViewAnnotator() delete m_quickToolsDefinition; } -void PageViewAnnotator::setSignatureMode(bool sigMode) +void PageViewAnnotator::setSignatureMode(bool enabled) { - m_signatureMode = sigMode; + m_signatureMode = enabled; } bool PageViewAnnotator::signatureMode() const diff --git a/part/pageviewannotator.h b/part/pageviewannotator.h index 34b5cadc0..4b7f59214 100644 --- a/part/pageviewannotator.h +++ b/part/pageviewannotator.h @@ -70,7 +70,7 @@ public: // @return Are we currently annotating (using the selected tool)? bool annotating() const; - void setSignatureMode(bool forced); + void setSignatureMode(bool enabled); bool signatureMode() const; // returns the preferred cursor for the current tool. call this only