Applications: Remove G prefixes from comments

This commit is contained in:
Tibor Nagy 2020-03-19 22:38:54 +01:00 committed by Andreas Kling
parent 120e8028f6
commit fc71b73c37
Notes: sideshowbarker 2024-07-19 08:13:33 +09:00
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -68,7 +68,7 @@ KnobsWidget::KnobsWidget(AudioEngine& audio_engine, MainWidget& main_widget)
m_knobs_container = add<GUI::Widget>();
m_knobs_container->set_layout<GUI::HorizontalBoxLayout>();
// FIXME: Implement vertical flipping in GSlider, not here.
// FIXME: Implement vertical flipping in GUI::Slider, not here.
m_octave_knob = m_knobs_container->add<GUI::VerticalSlider>();
m_octave_knob->set_tooltip("Z: octave down, X: octave up");