summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/RadioButton.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-12 20:30:33 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-12 20:31:16 +0200
commit977863ea078e829df10d351a2e9ac3097fb8f5d9 (patch)
tree5ea075feaa74d0ff74381399c85cae1bfbaaa6b0 /Libraries/LibGUI/RadioButton.cpp
parent3a905aed063e84331aec82826926cdb89d777892 (diff)
downloadserenity-977863ea078e829df10d351a2e9ac3097fb8f5d9.zip
LibGUI: Include keyboard modifier state with button on_click calls
This will allow you us to implement special behavior when Ctrl+clicking a button.
Diffstat (limited to 'Libraries/LibGUI/RadioButton.cpp')
-rw-r--r--Libraries/LibGUI/RadioButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/RadioButton.cpp b/Libraries/LibGUI/RadioButton.cpp
index ce0ec5127c..422dadc9d4 100644
--- a/Libraries/LibGUI/RadioButton.cpp
+++ b/Libraries/LibGUI/RadioButton.cpp
@@ -78,7 +78,7 @@ void RadioButton::for_each_in_group(Callback callback)
});
}
-void RadioButton::click()
+void RadioButton::click(unsigned)
{
if (!is_enabled())
return;