diff options
author | Mike FABIAN <maiku.fabian@gmail.com> | 2012-06-01 18:12:46 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-02 12:26:31 +0200 |
commit | e051819983bc6625f8c3f4b8158cb67c2bd8dd52 (patch) | |
tree | 83539ff004fe1e223acbc4c15209d143d0279ac1 /src/corelib/tools | |
parent | 2a1b50d67c1f2f4c5bd5efe048080989db37f44f (diff) |
Pashto uses Arabic script and is written right to left
QLocale::textDirection() was missing Pashto as a
right to left language.
Change-Id: I1623abf711597a26f283a86708dc756696790b7d
Reviewed-by: Lars Knoll
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qlocale.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 5913cebc0a..d799b817f2 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -2147,6 +2147,7 @@ Qt::LayoutDirection QLocale::textDirection() const if (lang == QLocale::Arabic || lang == QLocale::Hebrew || lang == QLocale::Persian || + lang == QLocale::Pashto || lang == QLocale::Urdu || lang == QLocale::Syriac || lang == QLocale::Divehi) |