diff --git a/Widgets/Event.h b/Widgets/Event.h index 31b48c3161d..afc3f2e5ae7 100644 --- a/Widgets/Event.h +++ b/Widgets/Event.h @@ -44,7 +44,7 @@ public: Event() { } explicit Event(Type type) : m_type(type) { } - ~Event() { } + virtual ~Event() { } Type type() const { return m_type; }