mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-24 23:23:58 +00:00
LibGUI: Remove Model::row_name() since nothing used it
This commit is contained in:
parent
278b307713
commit
248f2d5cf5
Notes:
sideshowbarker
2024-07-19 06:16:33 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/248f2d5cf54
3 changed files with 0 additions and 7 deletions
|
@ -67,7 +67,6 @@ public:
|
|||
|
||||
virtual int row_count(const ModelIndex& = ModelIndex()) const = 0;
|
||||
virtual int column_count(const ModelIndex& = ModelIndex()) const = 0;
|
||||
virtual String row_name(int) const { return {}; }
|
||||
virtual String column_name(int) const { return {}; }
|
||||
virtual Variant data(const ModelIndex&, Role = Role::Display) const = 0;
|
||||
virtual void update() = 0;
|
||||
|
|
|
@ -64,11 +64,6 @@ ModelIndex SortingProxyModel::map_to_target(const ModelIndex& index) const
|
|||
return target().index(m_row_mappings[index.row()], index.column());
|
||||
}
|
||||
|
||||
String SortingProxyModel::row_name(int index) const
|
||||
{
|
||||
return target().row_name(index);
|
||||
}
|
||||
|
||||
String SortingProxyModel::column_name(int index) const
|
||||
{
|
||||
return target().column_name(index);
|
||||
|
|
|
@ -37,7 +37,6 @@ public:
|
|||
|
||||
virtual int row_count(const ModelIndex& = ModelIndex()) const override;
|
||||
virtual int column_count(const ModelIndex& = ModelIndex()) const override;
|
||||
virtual String row_name(int) const override;
|
||||
virtual String column_name(int) const override;
|
||||
virtual Variant data(const ModelIndex&, Role = Role::Display) const override;
|
||||
virtual void update() override;
|
||||
|
|
Loading…
Reference in a new issue