1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 16:05:07 +00:00

LibGUI: Remove bitrotted automatic keybinds feature

This feature hasn't been working at all for several months, so let's
just remove it and simplify GWindow event handling.
This commit is contained in:
Andreas Kling 2019-12-26 23:29:18 +01:00
parent c85bdff57a
commit 23e16a3e2e
6 changed files with 4 additions and 132 deletions

View file

@ -72,11 +72,6 @@ void GButton::click()
m_action->activate(this);
}
bool GButton::supports_keyboard_activation() const
{
return is_enabled();
}
void GButton::set_action(GAction& action)
{
m_action = action.make_weak_ptr();