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>
This commit is contained in:
Lars Knoll 2012-05-08 10:52:47 +02:00 committed by Qt by Nokia
parent e996009eb7
commit 2cc0598f99

View File

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