mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 09:22:53 +00:00
LibGUI: Rename GAbstractColumnView to GAbstractTableView
This is to prevent confusion with GColumnsView, which is unrelated.
This commit is contained in:
parent
dec95cb8b3
commit
b6aae25244
Notes:
sideshowbarker
2024-07-19 09:52:46 +09:00
Author: https://github.com/bugaevc
Commit: b6aae25244
Pull-request: https://github.com/SerenityOS/serenity/pull/1115
7 changed files with 44 additions and 44 deletions
|
@ -48,7 +48,7 @@ GTreeView::MetadataForIndex& GTreeView::ensure_metadata_for_index(const GModelIn
|
|||
}
|
||||
|
||||
GTreeView::GTreeView(GWidget* parent)
|
||||
: GAbstractColumnView(parent)
|
||||
: GAbstractTableView(parent)
|
||||
{
|
||||
set_background_role(ColorRole::Base);
|
||||
set_foreground_role(ColorRole::BaseText);
|
||||
|
@ -331,7 +331,7 @@ void GTreeView::scroll_into_view(const GModelIndex& a_index, Orientation orienta
|
|||
void GTreeView::did_update_model()
|
||||
{
|
||||
m_view_metadata.clear();
|
||||
GAbstractColumnView::did_update_model();
|
||||
GAbstractTableView::did_update_model();
|
||||
}
|
||||
|
||||
void GTreeView::did_update_selection()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue