summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-09-28 15:11:31 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-09-28 15:14:29 (GMT)
commit2c1e828af311bb103a6f02513cd339973e9582f6 (patch)
tree5e5a4a68128d624e484dcf88e63349539155056d /src/gui
parent18c3d87cf6190555cc57e6b509d1e170eecd0a8f (diff)
downloadQt-2c1e828af311bb103a6f02513cd339973e9582f6.zip
Qt-2c1e828af311bb103a6f02513cd339973e9582f6.tar.gz
Qt-2c1e828af311bb103a6f02513cd339973e9582f6.tar.bz2
Fix typo when updating accessible treeview selection.
Reviewed-by: Gabi
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/itemviews/qtableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qtableview.cpp b/src/gui/itemviews/qtableview.cpp
index 6f532eb..356f187 100644
--- a/src/gui/itemviews/qtableview.cpp
+++ b/src/gui/itemviews/qtableview.cpp
@@ -3205,7 +3205,7 @@ void QTableView::selectionChanged(const QItemSelection &selected,
QModelIndex desel = deselected.indexes().value(0);
if (desel.isValid()) {
#ifdef Q_WS_X11
- int entry = d->accessibleTable2Index(sel);
+ int entry = d->accessibleTable2Index(desel);
QAccessible::updateAccessibility(this, entry, QAccessible::SelectionRemove);
#else
int entry = visualIndex(sel);