--- C:/Qt/qt/src/gui/itemviews/qtreeview.cpp Sat Jun 20 08:01:58 2009 +++ C:/Qt/qt-mod/src/gui/itemviews/qtreeview.cpp Wed Sep 16 15:39:20 2009 @@ -1335,7 +1335,7 @@ void QTreeViewPrivate::_q_modelDestroyed() { - //we need to clear that list because it contais QModelIndex to + //we need to clear that list because it contains QModelIndex to //the model currently being destroyed viewItems.clear(); QAbstractItemViewPrivate::_q_modelDestroyed(); @@ -2088,6 +2088,13 @@ if (vi < 0) vi = qMax(0, d->viewIndex(current)); + if (isRightToLeft()) { + if (cursorAction == MoveLeft) + cursorAction = MoveRight; + else if (cursorAction == MoveRight) + cursorAction = MoveLeft; + } + switch (cursorAction) { case MoveNext: case MoveDown: