X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fevent.cpp;h=4bb0221df9110ced78f36b4d26e90bd43b64a1d2;hp=4d9a6def1d09b06f7a905511bf63e291b9970878;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4 diff --git a/src/common/event.cpp b/src/common/event.cpp index 4d9a6def..4bb0221d 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -27,14 +27,12 @@ Event::Event(EventManager::EventType type) : _type(type) - , _valid(true) { } Event::Event(EventManager::EventType type, QVariantMap &map) : _type(type) - , _valid(true) { if (!map.contains("flags") || !map.contains("timestamp")) { qWarning() << "Received invalid serialized event:" << map;