From 793d06c95d2e03d0547583f89200c08838ff6228 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Mon, 14 Oct 2019 12:13:33 +0300 Subject: [PATCH] Fix minor issues found by EBN --- core/area.h | 2 +- core/script/event.cpp | 4 ++-- core/script/event_p.h | 2 +- core/signatureutils.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/area.h b/core/area.h index bae16e9f5..aac8aa413 100644 --- a/core/area.h +++ b/core/area.h @@ -89,7 +89,7 @@ class NormalizedShape; * * @par Example: Select Text on a Page using Mouse Events * @parblock - * The positon of all glyphs and words is stored in normalized coordinates. + * The position of all glyphs and words is stored in normalized coordinates. * (This is what TextPage actually does.) * Mouse press and release events are given in page coordinates (400, 180) and (600, 450), * while the page has a size of 800x600. diff --git a/core/script/event.cpp b/core/script/event.cpp index f4c55eab7..3efc6c341 100644 --- a/core/script/event.cpp +++ b/core/script/event.cpp @@ -61,7 +61,7 @@ QString Event::name() const case ( FieldFormat ): return QStringLiteral( "Format" ); case ( FieldKeystroke ): - return QStringLiteral( "Keystroke" ); + return QStringLiteral( "Keystroke" ); case ( FieldFocus ): return QStringLiteral( "Focus" ); case ( FieldValidate ): @@ -264,4 +264,4 @@ std::shared_ptr Event::createFormValidateEvent( FormField *target, ret->setReturnCode( true ); } return ret; -} \ No newline at end of file +} diff --git a/core/script/event_p.h b/core/script/event_p.h index 5e59766c4..420518e4c 100644 --- a/core/script/event_p.h +++ b/core/script/event_p.h @@ -63,7 +63,7 @@ class Event FieldMouseEnter, /// < Not implemented. FieldMouseExit, /// < Not implemented. FieldMouseUp, /// < Not implemented. - /* Validates the field after every change is commited + /* Validates the field after every change is committed * (clicked outside or tabbed to another field). * The enter event is not handled */ diff --git a/core/signatureutils.h b/core/signatureutils.h index c102c2555..a301b8a10 100644 --- a/core/signatureutils.h +++ b/core/signatureutils.h @@ -235,7 +235,7 @@ class OKULARCORE_EXPORT SignatureInfo virtual QString reason() const; /** - * The the hash algorithm used for the signature. + * The hash algorithm used for the signature. */ virtual HashAlgorithm hashAlgorithm() const;