mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 11:25:07 +00:00
LibGUI: Convert GToolBar to ObjectPtr
This commit is contained in:
parent
b78225941d
commit
f4531c976c
6 changed files with 10 additions and 8 deletions
|
@ -106,7 +106,7 @@ int main(int argc, char** argv)
|
|||
process_table_container->layout()->set_margins({ 4, 0, 4, 4 });
|
||||
process_table_container->layout()->set_spacing(0);
|
||||
|
||||
auto* toolbar = new GToolBar(process_table_container);
|
||||
auto toolbar = GToolBar::construct(process_table_container);
|
||||
toolbar->set_has_frame(false);
|
||||
auto* process_table_view = new ProcessTableView(*cpu_graph, process_table_container);
|
||||
auto* memory_stats_widget = new MemoryStatsWidget(*memory_graph, graphs_container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue