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/LibGUI/SortingProxyModel.cpp | |
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/LibGUI/SortingProxyModel.cpp')
-rw-r--r-- | Libraries/LibGUI/SortingProxyModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/SortingProxyModel.cpp b/Libraries/LibGUI/SortingProxyModel.cpp index 0752dc1206..440dd338e8 100644 --- a/Libraries/LibGUI/SortingProxyModel.cpp +++ b/Libraries/LibGUI/SortingProxyModel.cpp @@ -113,7 +113,7 @@ String SortingProxyModel::column_name(int column) const return source().column_name(column); } -Variant SortingProxyModel::data(const ModelIndex& proxy_index, Role role) const +Variant SortingProxyModel::data(const ModelIndex& proxy_index, ModelRole role) const { return source().data(map_to_source(proxy_index), role); } |