src/gui/kernel/qkeymapper_qws.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/src/gui/kernel/qkeymapper_qws.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/kernel/qkeymapper_qws.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -52,7 +52,7 @@
 QKeyMapperPrivate::QKeyMapperPrivate()
 {
     keyboardInputLocale = QLocale::system();
-    keyboardInputDirection = Qt::RightToLeft;
+    keyboardInputDirection = keyboardInputLocale.textDirection();
 }
 
 QKeyMapperPrivate::~QKeyMapperPrivate()