{
public:
explicit Event(EventManager::EventType type = EventManager::Invalid);
- virtual ~Event() {}
+ virtual ~Event() = default;
inline EventManager::EventType type() const { return _type; }
EventManager::EventType _type;
EventManager::EventFlags _flags;
QDateTime _timestamp;
- bool _valid;
+ bool _valid{true};
friend COMMON_EXPORT QDebug operator<<(QDebug dbg, Event *e);
};