1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09: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
Notes: sideshowbarker 2024-07-19 12:02:13 +09:00
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);