mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
Everywhere: Stop using NonnullRefPtrVector
This class had slightly confusing semantics and the added weirdness doesn't seem worth it just so we can say "." instead of "->" when iterating over a vector of NNRPs. This patch replaces NonnullRefPtrVector<T> with Vector<NNRP<T>>.
This commit is contained in:
parent
104be6c8ac
commit
8a48246ed1
168 changed files with 1280 additions and 1280 deletions
|
@ -76,7 +76,7 @@ WizardDialog::WizardDialog(Window* parent_window)
|
|||
void WizardDialog::push_page(AbstractWizardPage& page)
|
||||
{
|
||||
if (!m_page_stack.is_empty())
|
||||
m_page_stack.last().page_leave();
|
||||
m_page_stack.last()->page_leave();
|
||||
|
||||
m_page_stack.append(page);
|
||||
m_page_container_widget->remove_all_children();
|
||||
|
@ -111,7 +111,7 @@ void WizardDialog::pop_page()
|
|||
m_page_container_widget->add_child(m_page_stack.last());
|
||||
|
||||
update_navigation();
|
||||
m_page_stack.last().page_enter();
|
||||
m_page_stack.last()->page_enter();
|
||||
}
|
||||
|
||||
void WizardDialog::update_navigation()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue