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:
parent
e996009eb7
commit
2cc0598f99
@ -2148,7 +2148,8 @@ Qt::LayoutDirection QLocale::textDirection() const
|
|||||||
lang == QLocale::Hebrew ||
|
lang == QLocale::Hebrew ||
|
||||||
lang == QLocale::Persian ||
|
lang == QLocale::Persian ||
|
||||||
lang == QLocale::Urdu ||
|
lang == QLocale::Urdu ||
|
||||||
lang == QLocale::Syriac)
|
lang == QLocale::Syriac ||
|
||||||
|
lang == QLocale::Divehi)
|
||||||
return Qt::RightToLeft;
|
return Qt::RightToLeft;
|
||||||
|
|
||||||
return Qt::LeftToRight;
|
return Qt::LeftToRight;
|
||||||
|
Loading…
Reference in New Issue
Block a user