mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Userland: Port Model::column_name()
to String
This commit is contained in:
parent
741f07dedf
commit
945f05ed76
70 changed files with 218 additions and 222 deletions
|
@ -358,7 +358,7 @@ Menu& HeaderView::ensure_context_menu()
|
|||
int section_count = this->section_count();
|
||||
for (int section = 0; section < section_count; ++section) {
|
||||
auto& column_data = this->section_data(section);
|
||||
auto name = model()->column_name(section);
|
||||
auto name = model()->column_name(section).to_deprecated_string();
|
||||
column_data.visibility_action = Action::create_checkable(name, [this, section](auto& action) {
|
||||
set_section_visible(section, action.is_checked());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue