summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/TreeView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/TreeView.cpp')
-rw-r--r--Libraries/LibGUI/TreeView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/TreeView.cpp b/Libraries/LibGUI/TreeView.cpp
index 01c1407bea..270eec79db 100644
--- a/Libraries/LibGUI/TreeView.cpp
+++ b/Libraries/LibGUI/TreeView.cpp
@@ -291,7 +291,7 @@ void TreeView::paint_event(PaintEvent& event)
auto cell_index = model.index(index.row(), column_index, index.parent());
if (auto* delegate = column_data(column_index).cell_painting_delegate.ptr()) {
- delegate->paint(painter, cell_rect, palette(), model, cell_index);
+ delegate->paint(painter, cell_rect, palette(), cell_index);
} else {
auto data = model.data(cell_index);