Accessibility: Fix cellAt

Row and column are 0 based, the cell function
uses 1 based indices.
This commit is contained in:
Frederik Gladhorn 2012-09-22 21:39:00 +02:00
parent e6fd6f32b4
commit 174749c349

View file

@ -46,7 +46,7 @@ QVariant KItemListViewAccessible::invokeMethodEx(Method, int, const QVariantList
QAccessibleTable2CellInterface* KItemListViewAccessible::cellAt(int row, int column) const
{
return cell(column * (row-1) + column) ;
return cell(column*row + column + 1);
}
QAccessibleInterface* KItemListViewAccessible::caption() const