diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-02-15 10:19:26 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-02-15 14:07:04 (GMT) |
commit | e340844bd614add505a39a3a6b915632476f6305 (patch) | |
tree | 39359464e4c5839bad36c3fea951950ea5310e7c /src/gui/kernel/qcocoaview_mac.mm | |
parent | 1c5596b514d3a590bd624c9e83606b435e5d4889 (diff) | |
download | Qt-e340844bd614add505a39a3a6b915632476f6305.zip Qt-e340844bd614add505a39a3a6b915632476f6305.tar.gz Qt-e340844bd614add505a39a3a6b915632476f6305.tar.bz2 |
Fix crash in KPackageKit
QTreeViewPrivate::itemHeight() may refer to an invalid QModelIndex
after calling QTreeView::indexRowSizeHint().
Same thing inside QTreeView::indexRowSizeHint(), since
QHeaderView::count() will call
QAbstractItemViewPrivate::executePostedLayout() which may invalidate
all the QModelIndex.
Reviewed-by: Olivier
Task-number: QTBUG-16292
Diffstat (limited to 'src/gui/kernel/qcocoaview_mac.mm')
0 files changed, 0 insertions, 0 deletions