diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-11-02 16:25:54 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-11-02 16:50:17 (GMT) |
commit | 445ef8847979dab72893aab1924d46d0fe1a8a3e (patch) | |
tree | 52141d20819c3037b35bd54a1494e738c0f81400 /src/corelib | |
parent | 8e2b95b1115bc07f81d0fa22cc2929bb28d3e9bb (diff) | |
download | Qt-445ef8847979dab72893aab1924d46d0fe1a8a3e.zip Qt-445ef8847979dab72893aab1924d46d0fe1a8a3e.tar.gz Qt-445ef8847979dab72893aab1924d46d0fe1a8a3e.tar.bz2 |
With some locales, QDoubleValidator would not accept "C" locale valid numbers
Locales using dot as thousands delimiter and comma as decimal
separator are prone to this error.
This is a regression introduced by commit b81b8e43ad57183ed66.
Auto-tests included.
Reviewed-by: Olivier
Task-number: QTBUG_14935
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qlocale.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale.h b/src/corelib/tools/qlocale.h index 8b424bb..1af2cb4 100644 --- a/src/corelib/tools/qlocale.h +++ b/src/corelib/tools/qlocale.h @@ -114,7 +114,7 @@ class Q_CORE_EXPORT QLocale friend class QString; friend class QByteArray; friend class QIntValidator; - friend class QDoubleValidator; + friend class QDoubleValidatorPrivate; friend class QTextStream; friend class QTextStreamPrivate; |