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

LibGUI: Convert GSpinBox to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:15:11 +02:00
parent 83b5f6c11a
commit b78225941d
4 changed files with 6 additions and 5 deletions

View file

@ -61,9 +61,9 @@ int main(int argc, char** argv)
textbox2->set_text("GTextBox 2");
textbox2->set_enabled(false);
auto* spinbox1 = new GSpinBox(main_widget);
auto spinbox1 = GSpinBox::construct(main_widget);
(void)spinbox1;
auto* spinbox2 = new GSpinBox(main_widget);
auto spinbox2 = GSpinBox::construct(main_widget);
spinbox2->set_enabled(false);
auto* vertical_slider_container = new GWidget(main_widget);