From 868a9c165802193461f21a1c033596e9f102940a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Martins?= Date: Mon, 26 Apr 2021 17:38:24 +0100 Subject: Fix typo in a comment, PE_PanelViewItemRow doesn't exist Change-Id: I25897ec093aca38081745eff329ec3d042bc02c5 Reviewed-by: David Faure Reviewed-by: Giuseppe D'Angelo --- src/widgets/itemviews/qtreeview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/itemviews/qtreeview.cpp') 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); -- cgit v1.2.3