瀏覽代碼

Applications: Remove G prefixes from comments

Tibor Nagy 5 年之前
父節點
當前提交
fc71b73c37
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      Applications/FileManager/DirectoryView.cpp
  2. 1 1
      Applications/Piano/KnobsWidget.cpp

+ 3 - 3
Applications/FileManager/DirectoryView.cpp

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

+ 1 - 1
Applications/Piano/KnobsWidget.cpp

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