X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=35c43564d40f235a585007aa11b30d315b9e57ac;hb=d06a8048f0c93c7e063031739ad8e606b91a6f6c;hp=885ebe60c0ad4dcc7a202d6b2f1e3319fbcc5f49;hpb=db00831bca59a012242d1ad5fac52a20c6cd2956;p=quassel.git diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index 885ebe60..35c43564 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-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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; @@ -422,7 +422,7 @@ public: qWarning() << "Cannot call slot in different thread!"; return false; } - return invokeWithArgsList(_callable, params); + return invokeWithArgsList(_callable, params) ? true : false; } private: