summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/LayoutTreeModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/LayoutTreeModel.h')
-rw-r--r--Libraries/LibWeb/LayoutTreeModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/LayoutTreeModel.h b/Libraries/LibWeb/LayoutTreeModel.h
index bbca5e4b22..f1deedcce1 100644
--- a/Libraries/LibWeb/LayoutTreeModel.h
+++ b/Libraries/LibWeb/LayoutTreeModel.h
@@ -42,7 +42,7 @@ public:
virtual int row_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override;
virtual int column_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override;
- virtual GUI::Variant data(const GUI::ModelIndex&, Role = Role::Display) const override;
+ virtual GUI::Variant data(const GUI::ModelIndex&, GUI::ModelRole) const override;
virtual GUI::ModelIndex index(int row, int column, const GUI::ModelIndex& parent = GUI::ModelIndex()) const override;
virtual GUI::ModelIndex parent_index(const GUI::ModelIndex&) const override;
virtual void update() override;