summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2021-04-26 17:38:24 +0100
committerSergio Martins <sergio.martins@kdab.com>2021-04-27 13:45:03 +0100
commit868a9c165802193461f21a1c033596e9f102940a (patch)
tree0cd5a32e8b4049921d080a12d8bb5059e30aa2b4 /src/widgets/itemviews
parent1ccf1ec99bd82131e5baf9487603080c16dd5b26 (diff)
Fix typo in a comment, PE_PanelViewItemRow doesn't exist
Change-Id: I25897ec093aca38081745eff329ec3d042bc02c5 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets/itemviews')
-rw-r--r--src/widgets/itemviews/qtreeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp
index 49585d8b26..ab9e3c9d62 100644
--- a/src/widgets/itemviews/qtreeview.cpp
+++ b/src/widgets/itemviews/qtreeview.cpp
@@ -1769,7 +1769,7 @@ void QTreeView::drawRow(QPainter *painter, const QStyleOptionViewItem &option,
/* Prior to Qt 4.3, the background of the branch (in selected state and
alternate row color was provided by the view. For backward compatibility,
- this is now delegated to the style using PE_PanelViewItemRow which
+ this is now delegated to the style using PE_PanelItemViewRow which
does the appropriate fill */
if (d->isTreePosition(headerSection)) {
const int i = d->indentationForItem(d->current);