summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qheaderview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/itemviews/qheaderview.cpp')
-rw-r--r--src/widgets/itemviews/qheaderview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/itemviews/qheaderview.cpp b/src/widgets/itemviews/qheaderview.cpp
index dc272b5ee0..d8c53a3033 100644
--- a/src/widgets/itemviews/qheaderview.cpp
+++ b/src/widgets/itemviews/qheaderview.cpp
@@ -1707,7 +1707,7 @@ void QHeaderView::sectionsInserted(const QModelIndex &parent,
{
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();
@@ -1838,7 +1838,7 @@ void QHeaderViewPrivate::_q_sectionsRemoved(const QModelIndex &parent,
{
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;