summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/events')
-rw-r--r--src/events/inputguievent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h
index dbd2593d7..e42bec27f 100644
--- a/src/events/inputguievent.h
+++ b/src/events/inputguievent.h
@@ -81,7 +81,7 @@ class InputGuiEvent: public Event
* @param source The source widget of the event.
* @param isMetaPressed True if meta is pressed, false otherwise.
*/
- InputGuiEvent(Widget *const source) :
+ explicit InputGuiEvent(Widget *const source) :
Event(source),
mIsConsumed(false)
{ }