X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmessageevent.h;h=9313cc2bd10a7ffa04e9657014e7ea4ac756d1a0;hp=8ac668d65fefed223dac5bf44ee28320124cf2bb;hb=097f625c4bd147f4127573ad8ab48555f9dc62d3;hpb=d030c159599a22c9023b8f0d34909d3277707f52 diff --git a/src/common/messageevent.h b/src/common/messageevent.h index 8ac668d6..9313cc2b 100644 --- a/src/common/messageevent.h +++ b/src/common/messageevent.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -34,10 +34,10 @@ public: explicit MessageEvent(Message::Type msgType, Network* network, QString msg, - const QString& sender = QString(), - QString target = QString(), + QString sender = {}, + QString target = {}, Message::Flags msgFlags = Message::None, - const QDateTime& timestamp = QDateTime()); + const QDateTime& timestamp = {}); inline Message::Type msgType() const { return _msgType; } inline void setMsgType(Message::Type type) { _msgType = type; }