From b3379d331db1e1318a9d32e50d0a64fa39e10738 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 1 Oct 2021 18:55:19 +0200 Subject: [PATCH] Fix documentation of AnnotationUtils::loadStamp --- core/annotations.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/annotations.h b/core/annotations.h index db3a5254b..57530de9d 100644 --- a/core/annotations.h +++ b/core/annotations.h @@ -79,8 +79,10 @@ public: * Returns a pixmap for a stamp symbol * * @p name Name of a Okular stamp symbol, icon or path to an image - * @p size Size of the pixmap (ignore aspect ratio). Takes precedence over @p iconSize - * @p iconSize Maximum size of the pixmap (keep aspect ratio) + * @p size Size of the pixmap side + * @p keepAspectRatio Whether to keep aspect ratio of the stamp or not + * + * @since 21.12 */ static QPixmap loadStamp(const QString &nameOrPath, int size, bool keepAspectRatio = true); };