summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-26 08:39:11 +0200
committerhjk <hjk@qt.io>2019-07-26 10:50:43 +0000
commitf784c7e07d2a33d1f98819a689d39dfd6b6d7659 (patch)
tree15997f87eb47d5e89c16285233109b4cc22bb9be /src/plugins
parentdf8ef72aec830d253beef32ee4d9b962afc3346e (diff)
downloadqt-creator-f784c7e07d2a33d1f98819a689d39dfd6b6d7659.tar.gz
ProjectExplorer: Remove one unused Target::subscribeSignal overload
Change-Id: I01df947a1dbd8b0518053dc1db528725c48de820 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/projectexplorer/target.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/target.h b/src/plugins/projectexplorer/target.h
index a630e28468..f5c7fcabd1 100644
--- a/src/plugins/projectexplorer/target.h
+++ b/src/plugins/projectexplorer/target.h
@@ -128,15 +128,6 @@ public:
}, recv, this);
}
- template<typename S, typename R, typename T>
- void subscribeSignal(void (S::*sig)(), R*recv, T sl) {
- new Internal::TargetSubscription([sig, recv, sl, this](ProjectConfiguration *pc) {
- if (S* sender = qobject_cast<S*>(pc))
- return connect(sender, sig, recv, sl);
- return QMetaObject::Connection();
- }, recv, this);
- }
-
signals:
void targetEnabled(bool);
void iconChanged();