summaryrefslogtreecommitdiffstats
path: root/demos/undo
diff options
context:
space:
mode:
authorJiewen Wang <jiewen.wang@logicpd.com>2012-05-31 12:20:49 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-05-31 21:45:30 (GMT)
commitebaaff84fc0355d2e026da7f5ca015280b2c7d82 (patch)
tree11a1ac00570afe696bccb2bcb8ba24270b4992ed /demos/undo
parent4ec0baf312ec2b26b1dfbee34a22b2ef7dfeccf1 (diff)
downloadQt-ebaaff84fc0355d2e026da7f5ca015280b2c7d82.zip
Qt-ebaaff84fc0355d2e026da7f5ca015280b2c7d82.tar.gz
Qt-ebaaff84fc0355d2e026da7f5ca015280b2c7d82.tar.bz2
Eliminate QTreeWidget drag crash
In QTreeViewPrivate::adjustViewOptionsForIndex() wrong index had been used when referencing to array of viewItems. Variable row is set to the index of the QModelIndex, however it is not as same as the index in viewItems[] when there was hidden item in treeWidget. Index of viewItems[] should be used here. Unit test is added as well. Change-Id: Ie129cb63445bf1239ef7c5b2bc61b04dd9e81982 Task-Id: QTBUG-25333 Backport of <3be6ca3ee8c2c72f85b26a57538fd329ed811261> from Qt5 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'demos/undo')
0 files changed, 0 insertions, 0 deletions