diff --git a/src/plugins/projectexplorer/project.h b/src/plugins/projectexplorer/project.h index aac69ab22c8..9329fc3c437 100644 --- a/src/plugins/projectexplorer/project.h +++ b/src/plugins/projectexplorer/project.h @@ -169,8 +169,8 @@ public: bool isParsing() const; bool hasParsingData() const; - template - void subscribeSignal(void (S::*sig)(), R*recv, T (R::*sl)()) { + template + void subscribeSignal(void (S::*sig)(Args1...), R*recv, T (R::*sl)(Args2...)) { new Internal::ProjectSubscription([sig, recv, sl, this](ProjectConfiguration *pc) { if (S* sender = qobject_cast(pc)) return connect(sender, sig, recv, sl); @@ -178,8 +178,8 @@ public: }, recv, this); } - template - void subscribeSignal(void (S::*sig)(), R*recv, T sl) { + template + void subscribeSignal(void (S::*sig)(Args1...), R*recv, T sl) { new Internal::ProjectSubscription([sig, recv, sl, this](ProjectConfiguration *pc) { if (S* sender = qobject_cast(pc)) return connect(sender, sig, recv, sl);