mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
GButton: Convert most code to using ObjectPtr for GButton
This commit is contained in:
parent
55a6e4ac0b
commit
45cfd57f6e
20 changed files with 38 additions and 38 deletions
|
@ -38,9 +38,9 @@ int main(int argc, char** argv)
|
|||
auto radio2 = GRadioButton::construct("GRadioButton 2", main_widget);
|
||||
radio2->set_enabled(false);
|
||||
|
||||
auto* button1 = new GButton("GButton 1", main_widget);
|
||||
auto button1 = GButton::construct("GButton 1", main_widget);
|
||||
(void)button1;
|
||||
auto* button2 = new GButton("GButton 2", main_widget);
|
||||
auto button2 = GButton::construct("GButton 2", main_widget);
|
||||
button2->set_enabled(false);
|
||||
|
||||
auto progress1 = GProgressBar::construct(main_widget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue