From e187a16906e68effcccdd7931c755e610b62e358 Mon Sep 17 00:00:00 2001
From: Dan Cape <dcape@qnx.com>
Date: Thu, 24 Mar 2016 16:27:24 -0400
Subject: [PATCH] toCurrencyString() - Add missing documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Documentation was missing for the new toCurrencyString() function that
adds a precision value.

Change-Id: I16c10cdd18dfc37839fccb907470b0942f100e5d
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
---
 src/corelib/tools/qlocale.cpp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index 20716ceb26b..27d2e4c1650 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -3487,7 +3487,13 @@ QString QLocale::toCurrencyString(double value, const QString &symbol) const
 
 /*!
     \since 5.7
-    \overload
+    \overload toCurrencyString()
+
+    Returns a localized string representation of \a value as a currency.
+    If the \a symbol is provided it is used instead of the default currency symbol.
+    If the \a precision is provided it is used to set the precision of the currency value.
+
+    \sa currencySymbol()
  */
 QString QLocale::toCurrencyString(double value, const QString &symbol, int precision) const
 {
-- 
GitLab