summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/LayoutTreeModel.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-16 16:00:07 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-16 16:44:09 +0200
commita1e381a0f87edb396d9c8be90f77fd4bd27024d4 (patch)
tree63c8f74e970cdcb091796fceed8064705c2e0098 /Libraries/LibWeb/LayoutTreeModel.h
parentf6d7204689a009ce804b56e9e921985d2e61fc19 (diff)
downloadserenity-a1e381a0f87edb396d9c8be90f77fd4bd27024d4.zip
LibGUI: Move GUI::Model::Role to GUI::ModelRole
This is preparation for using ModelRole in the ModelIndex API.
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;