Change-Id: If0fc8a18973a2fe15197437734f15f3d445d1b6c
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
{
Q_D(QHeaderView);
if (parent != d->root)
- return; // we only handle changes in the top level
+ return; // we only handle changes in the root level
int oldCount = d->sectionCount();
d->invalidateCachedSizeHint();
{
Q_Q(QHeaderView);
if (parent != root)
- return; // we only handle changes in the top level
+ return; // we only handle changes in the root level
if (qMin(logicalFirst, logicalLast) < 0
|| qMax(logicalLast, logicalFirst) >= sectionCount())
return;