mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -44,7 +44,7 @@ private:
|
|||
|
||||
ViewMode m_view_mode { Invalid };
|
||||
|
||||
Retained<GDirectoryModel> m_model;
|
||||
NonnullRefPtr<GDirectoryModel> m_model;
|
||||
int m_path_history_position { 0 };
|
||||
Vector<String> m_path_history;
|
||||
void add_path_to_history(const StringView& path);
|
||||
|
|
|
@ -103,8 +103,8 @@ int main(int argc, char** argv)
|
|||
}
|
||||
});
|
||||
|
||||
RetainPtr<GAction> view_as_table_action;
|
||||
RetainPtr<GAction> view_as_icons_action;
|
||||
RefPtr<GAction> view_as_table_action;
|
||||
RefPtr<GAction> view_as_icons_action;
|
||||
|
||||
view_as_table_action = GAction::create("Table view", { Mod_Ctrl, KeyCode::Key_L }, GraphicsBitmap::load_from_file("/res/icons/16x16/table-view.png"), [&](const GAction&) {
|
||||
directory_view->set_view_mode(DirectoryView::ViewMode::List);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue