Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
4.4.3
-
None
Description
QApplication::layoutDirection() always returns LeftToRight even if the language is a right to left one
e.g. to reproduce:
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QTextEdit* t= new QTextEdit();
qDebug() <<" Direction = " << app.layoutDirection(); // should return 1 but always returning 0
t->show();
return app.exec();
}