summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qheaderview_p.h
diff options
context:
space:
mode:
authorMarkku Heikkila <markku.heikkila@digia.com>2012-01-27 11:53:09 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-01 14:32:07 (GMT)
commit4f388c383e39b598d997e21bd9a4f16d89bd0625 (patch)
treead810f35e118a8222a850350bfd9d5f085a6febf /src/gui/itemviews/qheaderview_p.h
parent9ad459913c8a277f3a6fbc7ee50937f126fe87ef (diff)
downloadQt-4f388c383e39b598d997e21bd9a4f16d89bd0625.zip
Qt-4f388c383e39b598d997e21bd9a4f16d89bd0625.tar.gz
Qt-4f388c383e39b598d997e21bd9a4f16d89bd0625.tar.bz2
Fix crash in QTreeWidgetItem::sortChildren when adding new item.
Recursive call is caused if user code calls QtreeWidgetItem()::sortChildren and sorting is enbled in QTreeWidget. First call is from user code and second is caused by timer. When timer expires second call is made. This recursion is prevented with QTreeModel::SkipSorting skipSorting() in QTreeWidgetItem::sortChildren(); Task-number: QTBUG-20345 Change-Id: I48af98b03c0291de8da90d1581bc55cc89846b8c Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/gui/itemviews/qheaderview_p.h')
0 files changed, 0 insertions, 0 deletions