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:
parent
83b5f6c11a
commit
b78225941d
4 changed files with 6 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue