X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.cpp;h=0cc79944ce35641060b36f12bcbaa616c0b8e374;hp=7bd87513f801426e11ffd1ce72d1902eb33f4b82;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4 diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index 7bd87513..0cc79944 100644 --- a/src/common/signalproxy.cpp +++ b/src/common/signalproxy.cpp @@ -68,11 +68,11 @@ public: private: struct Signal { - QObject *sender; - int signalId; + QObject *sender{nullptr}; + int signalId{-1}; QByteArray signature; Signal(QObject *sender, int sigId, QByteArray signature) : sender(sender), signalId(sigId), signature(std::move(signature)) {} - Signal() : sender(nullptr), signalId(-1) {} + Signal() {} }; SignalProxy *_proxy;