1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:08:12 +00:00

LibGUI: Convert GItemView to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 15:47:58 +02:00
parent 93851c3832
commit c13b9e2214
3 changed files with 4 additions and 3 deletions

View file

@ -76,7 +76,7 @@ DirectoryView::DirectoryView(GWidget* parent)
, m_model(GDirectoryModel::create())
{
set_active_widget(nullptr);
m_item_view = new GItemView(this);
m_item_view = GItemView::construct(this);
m_item_view->set_model(model());
m_table_view = new GTableView(this);