X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=a2b21827d056aa7917a567f7797b343658fe9c78;hp=e3bc1d50d16adc0d000912d2bbfb32bf0c36c8df;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003 diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index e3bc1d50..a2b21827 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 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;