mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGUI+Userland: Make Dialog::ExecResult an enum class
This commit is contained in:
@@ -82,7 +82,7 @@ AboutDialog::AboutDialog(StringView name, Gfx::Bitmap const* icon, Window* paren
|
||||
auto& ok_button = button_container.add<Button>("OK");
|
||||
ok_button.set_fixed_width(80);
|
||||
ok_button.on_click = [this](auto) {
|
||||
done(Dialog::ExecOK);
|
||||
done(ExecResult::OK);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user