summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qximinputcontext_x11.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-06-09 22:05:07 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2010-06-09 22:08:34 (GMT)
commit1abf2d6dfafc71f73746b7e69e11e0c8152edb4a (patch)
treee6aa5b8a0654c53efd8f9ca87b91a7cd508fdf41 /src/gui/inputmethod/qximinputcontext_x11.cpp
parentda603c7c80ea14df18790ae77f5de82880307650 (diff)
downloadQt-1abf2d6dfafc71f73746b7e69e11e0c8152edb4a.zip
Qt-1abf2d6dfafc71f73746b7e69e11e0c8152edb4a.tar.gz
Qt-1abf2d6dfafc71f73746b7e69e11e0c8152edb4a.tar.bz2
Rename QLocale::isWrittenRightToLeft() to textDirection()
This is more in line with the rest of Qt. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/gui/inputmethod/qximinputcontext_x11.cpp')
-rw-r--r--src/gui/inputmethod/qximinputcontext_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qximinputcontext_x11.cpp b/src/gui/inputmethod/qximinputcontext_x11.cpp
index 88f8daf..ed5aa23 100644
--- a/src/gui/inputmethod/qximinputcontext_x11.cpp
+++ b/src/gui/inputmethod/qximinputcontext_x11.cpp
@@ -409,7 +409,7 @@ QXIMInputContext::QXIMInputContext()
if (dashPos >= 0)
variantName.truncate(dashPos);
QLocale keyboardInputLocale = q_getKeyboardLocale(layoutNames.at(i), variantName);
- if (keyboardInputLocale.isWrittenRightToLeft())
+ if (keyboardInputLocale.textDirection() == Qt::RightToLeft)
qt_use_rtl_extensions = true;
}
}