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>
bb10
Mike FABIAN 2012-06-01 18:12:46 +02:00 committed by Qt by Nokia
parent 2a1b50d67c
commit e051819983
1 changed files with 1 additions and 0 deletions

View File

@ -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)