From a53429c1ecbd50ac2e4ecd4ab2c6b245a6b2b99f Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 2 Mar 2023 18:57:53 +0100 Subject: [PATCH] [docs] Fix typo in QMessageAuthenticationCode::reset() documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pefer → Prefer Pick-to: 6.5 Change-Id: Ie9fd09452f5d99d799a045ee59fc11a2b9c5a599 Reviewed-by: Thiago Macieira --- src/corelib/tools/qcryptographichash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp index 3986576c778..497b9f9b4a5 100644 --- a/src/corelib/tools/qcryptographichash.cpp +++ b/src/corelib/tools/qcryptographichash.cpp @@ -1284,7 +1284,7 @@ void QMessageAuthenticationCode::reset() use(mac); \endcode - Perfer to pass initial keys as the constructor argument: + Prefer to pass initial keys as the constructor argument: \code QMessageAuthenticationCode mac(method, key); // OK, optimal