mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 22:59:33 +00:00
Applications: Remove G prefixes from comments
This commit is contained in:
parent
120e8028f6
commit
fc71b73c37
Notes:
sideshowbarker
2024-07-19 08:13:33 +09:00
Author: https://github.com/xTibor
Commit: fc71b73c37
Pull-request: https://github.com/SerenityOS/serenity/pull/1487
2 changed files with 4 additions and 4 deletions
|
@ -143,8 +143,8 @@ DirectoryView::DirectoryView()
|
|||
on_path_change(model().root_path());
|
||||
};
|
||||
|
||||
// NOTE: We're using the on_update hook on the GSortingProxyModel here instead of
|
||||
// the GUI::FileSystemModel's hook. This is because GSortingProxyModel has already
|
||||
// NOTE: We're using the on_update hook on the GUI::SortingProxyModel here instead of
|
||||
// the GUI::FileSystemModel's hook. This is because GUI::SortingProxyModel has already
|
||||
// installed an on_update hook on the GUI::FileSystemModel internally.
|
||||
// FIXME: This is an unfortunate design. We should come up with something better.
|
||||
m_table_view->model()->on_update = [this] {
|
||||
|
@ -321,7 +321,7 @@ void DirectoryView::update_statusbar()
|
|||
if (selected_item_count == 1) {
|
||||
auto index = current_view().selection().first();
|
||||
|
||||
// FIXME: This is disgusting. This code should not even be aware that there is a GSortingProxyModel in the table view.
|
||||
// FIXME: This is disgusting. This code should not even be aware that there is a GUI::SortingProxyModel in the table view.
|
||||
if (m_view_mode == ViewMode::List) {
|
||||
auto& filter_model = (GUI::SortingProxyModel&)*m_table_view->model();
|
||||
index = filter_model.map_to_target(index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue