mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
LibGUI+Userland: Make Dialog::ExecResult an enum class
This commit is contained in:
parent
1f82beded3
commit
cdffe556c8
90 changed files with 232 additions and 232 deletions
|
@ -74,10 +74,10 @@ GameSizeDialog::GameSizeDialog(GUI::Window* parent, size_t board_size, size_t ta
|
|||
button_layout.set_spacing(10);
|
||||
|
||||
buttonbox.add<GUI::Button>("Cancel").on_click = [this](auto) {
|
||||
done(Dialog::ExecCancel);
|
||||
done(ExecResult::Cancel);
|
||||
};
|
||||
|
||||
buttonbox.add<GUI::Button>("OK").on_click = [this](auto) {
|
||||
done(Dialog::ExecOK);
|
||||
done(ExecResult::OK);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue