summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale_tools.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-04-27 18:18:10 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 00:34:25 +0100
commited7458a8a66416c106ad33871a288091058d01ea (patch)
tree6098a3a4804561fe2392d2b7a654ee38069888bb /src/corelib/tools/qlocale_tools.cpp
parent1b26ef0c0c894a720b163333396054a8571e2581 (diff)
QLocalePrivate: move the stringToXxx to QLocaleData
Along with some more helper functions. There are two more functions used in QIntValidator Change-Id: I469ef40426cbb73ab515454bd5ecb12d944f5c0a Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/corelib/tools/qlocale_tools.cpp')
-rw-r--r--src/corelib/tools/qlocale_tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_tools.cpp b/src/corelib/tools/qlocale_tools.cpp
index 81f9d20db7..8a5c4420dc 100644
--- a/src/corelib/tools/qlocale_tools.cpp
+++ b/src/corelib/tools/qlocale_tools.cpp
@@ -185,7 +185,7 @@ QString &exponentForm(QChar zero, QChar decimal, QChar exponential,
}
// Removes thousand-group separators in "C" locale.
-bool removeGroupSeparators(QLocalePrivate::CharBuff *num)
+bool removeGroupSeparators(QLocaleData::CharBuff *num)
{
int group_cnt = 0; // counts number of group chars
int decpt_idx = -1;