QTreeView: fix crash when starting a drag with hidden columns.
authorDavid Faure <david.faure@kdab.com>
Tue, 29 Nov 2011 19:55:26 +0000 (20:55 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 07:31:17 +0000 (08:31 +0100)
commit1319bd48c8c21e1fadaf572f8f39528f52672035
tree3287fc83fe15679f4169141e779895a0af3b11bd
parent22b7d211865c1505862627a2e65bcd063e314e45
QTreeView: fix crash when starting a drag with hidden columns.

Crash was introduced by d639105759491 (pre-Qt-4.8 only)

Task-number: QTBUG-15834
Merge-request: MR-2725

(cherry picked from qt4 commit fd25323de7b5d5f3e0ffb1bd81ea4d251e071566)

Change-Id: I59959d3ba4c9bcb0d39bdbe58432817bbbfdd9f1
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qtreeview.cpp
tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp