mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
Calculator: Use new GML compiler
This commit is contained in:
parent
182126dfda
commit
15a539a5b0
7 changed files with 84 additions and 63 deletions
|
@ -42,7 +42,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->set_resizable(false);
|
||||
window->resize(250, 215);
|
||||
|
||||
auto widget = window->set_main_widget<CalculatorWidget>();
|
||||
auto widget = TRY(Calculator::CalculatorWidget::create());
|
||||
window->set_main_widget(widget.ptr());
|
||||
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue