summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-09-28 15:26:28 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-09-28 15:26:28 (GMT)
commitabcca37093d9359b432f4b1c60e88edc955bcc56 (patch)
tree5e5a4a68128d624e484dcf88e63349539155056d
parentc46bfaa83a44dd4152e35b406adef3b8bf20781c (diff)
parent2c1e828af311bb103a6f02513cd339973e9582f6 (diff)
downloadQt-abcca37093d9359b432f4b1c60e88edc955bcc56.zip
Qt-abcca37093d9359b432f4b1c60e88edc955bcc56.tar.gz
Qt-abcca37093d9359b432f4b1c60e88edc955bcc56.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team: Fix typo when updating accessible treeview selection.
-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);