mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:55:07 +00:00
Applications: Remove G prefixes from comments
This commit is contained in:
parent
120e8028f6
commit
fc71b73c37
2 changed files with 4 additions and 4 deletions
|
@ -143,8 +143,8 @@ DirectoryView::DirectoryView()
|
||||||
on_path_change(model().root_path());
|
on_path_change(model().root_path());
|
||||||
};
|
};
|
||||||
|
|
||||||
// NOTE: We're using the on_update hook on the GSortingProxyModel here instead of
|
// NOTE: We're using the on_update hook on the GUI::SortingProxyModel here instead of
|
||||||
// the GUI::FileSystemModel's hook. This is because GSortingProxyModel has already
|
// the GUI::FileSystemModel's hook. This is because GUI::SortingProxyModel has already
|
||||||
// installed an on_update hook on the GUI::FileSystemModel internally.
|
// installed an on_update hook on the GUI::FileSystemModel internally.
|
||||||
// FIXME: This is an unfortunate design. We should come up with something better.
|
// FIXME: This is an unfortunate design. We should come up with something better.
|
||||||
m_table_view->model()->on_update = [this] {
|
m_table_view->model()->on_update = [this] {
|
||||||
|
@ -321,7 +321,7 @@ void DirectoryView::update_statusbar()
|
||||||
if (selected_item_count == 1) {
|
if (selected_item_count == 1) {
|
||||||
auto index = current_view().selection().first();
|
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) {
|
if (m_view_mode == ViewMode::List) {
|
||||||
auto& filter_model = (GUI::SortingProxyModel&)*m_table_view->model();
|
auto& filter_model = (GUI::SortingProxyModel&)*m_table_view->model();
|
||||||
index = filter_model.map_to_target(index);
|
index = filter_model.map_to_target(index);
|
||||||
|
|
|
@ -68,7 +68,7 @@ KnobsWidget::KnobsWidget(AudioEngine& audio_engine, MainWidget& main_widget)
|
||||||
m_knobs_container = add<GUI::Widget>();
|
m_knobs_container = add<GUI::Widget>();
|
||||||
m_knobs_container->set_layout<GUI::HorizontalBoxLayout>();
|
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 = m_knobs_container->add<GUI::VerticalSlider>();
|
||||||
m_octave_knob->set_tooltip("Z: octave down, X: octave up");
|
m_octave_knob->set_tooltip("Z: octave down, X: octave up");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue