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:
parent
93851c3832
commit
c13b9e2214
Notes:
sideshowbarker
2024-07-19 12:02:13 +09:00
Author: https://github.com/awesomekling
Commit: c13b9e2214
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue