diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:00:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:44:09 +0200 |
commit | a1e381a0f87edb396d9c8be90f77fd4bd27024d4 (patch) | |
tree | 63c8f74e970cdcb091796fceed8064705c2e0098 /Libraries/LibWeb/LayoutTreeModel.h | |
parent | f6d7204689a009ce804b56e9e921985d2e61fc19 (diff) | |
download | serenity-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.h | 2 |
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; |