X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fsignalproxy.h;h=a2b21827d056aa7917a567f7797b343658fe9c78;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hp=b58aae8f1a9cdba0e1c9577447d03a3507883c56;hpb=a22e08480288685d73d9abd18c6a1087451c388b;p=quassel.git diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index b58aae8f..a2b21827 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -283,7 +283,7 @@ private: private: QHash _peerMap; - // containg a list of argtypes for fast access + // contains a list of argtypes for fast access QHash _extendedMetaObjects; std::unordered_multimap, Hash> _attachedSlots; ///< Attached slot objects @@ -333,7 +333,7 @@ bool SignalProxy::attachSignal(const typename FunctionTraits::ClassType* // Upon signal emission, marshall the signal's arguments into a QVariantList and dispatch an RpcCall message connect(sender, signal, this, [this, signalName = std::move(name)](auto&&... args) { - this->dispatchSignal(std::move(signalName), {QVariant::fromValue(args)...}); + this->dispatchSignal(std::move(signalName), {QVariant::fromValue(args)...}); }); return true;