diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-08 10:52:47 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-09 02:28:34 +0200 |
commit | 2cc0598f99c2b0902da4c2d51ea37efb3448eba6 (patch) | |
tree | fc5621abcffcce00e04aa25ca236fc357c2af689 | |
parent | e996009eb7699cd7caecccd027e39d0eca7f60ab (diff) |
Divehi is written right to left
QLocale::textDirection() was missing Divehi as a
right to left language.
Change-Id: Ib2395afe0e1dfbac23cb607dbf7833e6c12b2ce9
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
-rw-r--r-- | src/corelib/tools/qlocale.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 88667f7fbd..5913cebc0a 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -2148,7 +2148,8 @@ Qt::LayoutDirection QLocale::textDirection() const lang == QLocale::Hebrew || lang == QLocale::Persian || lang == QLocale::Urdu || - lang == QLocale::Syriac) + lang == QLocale::Syriac || + lang == QLocale::Divehi) return Qt::RightToLeft; return Qt::LeftToRight; |