1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibGUI: Convert remaining random little things to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 19:39:37 +02:00
parent 81a5c4fc56
commit 409494193e
11 changed files with 15 additions and 13 deletions

View file

@ -55,9 +55,9 @@ int main(int argc, char** argv)
auto label2 = GLabel::construct("GLabel 2", main_widget);
label2->set_enabled(false);
auto textbox1 = new GTextBox(main_widget);
auto textbox1 = GTextBox::construct(main_widget);
textbox1->set_text("GTextBox 1");
auto textbox2 = new GTextBox(main_widget);
auto textbox2 = GTextBox::construct(main_widget);
textbox2->set_text("GTextBox 2");
textbox2->set_enabled(false);