mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 01:46:46 +02:00
LibGUI: Move GUI::Model::Role to GUI::ModelRole
This is preparation for using ModelRole in the ModelIndex API.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 03:33:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a1e381a0f87
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user