mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
Userspace: Use Core::Object::add() when building interfaces
This commit is contained in:
parent
7ec758773c
commit
3d20da9ee4
87 changed files with 403 additions and 438 deletions
|
@ -60,7 +60,7 @@ int main(int argc, char** argv)
|
|||
window->set_resizable(false);
|
||||
window->set_rect({ 300, 200, 254, 213 });
|
||||
|
||||
auto calc_widget = CalculatorWidget::construct(nullptr);
|
||||
auto calc_widget = CalculatorWidget::construct();
|
||||
window->set_main_widget(calc_widget);
|
||||
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue