qt5base-lts/tests/auto/widgets
Christian Ehrlicher a02b371eb2 QHeaderView: properly connect rows/columnsMoved
QHeaderViewPrivate reimplemented _q_layoutChanged() to handle changes
of rows/columns via layoutChanged/layoutAboutToBeChanged. This worked
fine for Qt4 but since Qt5 only the special signals rowsAboutToBeMoved/
rowsMoved are used for this (8021e2d5e7).
With this change, QAbstractItemViewPrivate::_q_rows/columnsMoved() is
calling the virtual function _q_layoutChanged(). This resulted in a
wrong call of QHP::_q_layoutChanged() for a horizontal header when
a row changed and for a vertical header during a column change. In the
end this can lead to an unhide of hidden sections.

Task-number: QTBUG-54610
Change-Id: Ide4bfc5b24a97746fd1e5af82d3ba08257149157
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2017-12-22 16:17:56 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
effects Revert "QWidgetEffectSourcePrivate::draw(): Call render() when no shared painter exists" 2017-06-14 13:00:35 +00:00
graphicsview Port away from QRegion::rects() 2017-12-07 19:10:12 +00:00
itemviews QHeaderView: properly connect rows/columnsMoved 2017-12-22 16:17:56 +00:00
kernel tst_QWidget: port away from QRegion::rects() 2017-12-06 18:30:52 +00:00
styles Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
util Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
widgets Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00