From 88ad7366a3eb6bc73bc99078ae13302099b76f09 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 26 Oct 2015 19:48:30 +0100 Subject: Refactored LineEdit and FileBrowser. Renamed all KEY_XYZ event types to KeyXyz. --- plugingui/checkbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/checkbox.cc') diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc index c085be9..6d85615 100644 --- a/plugingui/checkbox.cc +++ b/plugingui/checkbox.cc @@ -65,7 +65,7 @@ void CheckBox::setText(std::string text) void CheckBox::keyEvent(KeyEvent *e) { - if(e->keycode == KeyEvent::KEY_CHARACTER && e->text == " ") + if(e->keycode == KeyEvent::KeyCharacter && e->text == " ") { if(e->direction == KeyEvent::Up) { -- cgit v1.2.3