aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/runcontrol.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-08-29 16:27:25 +0200
committerhjk <hjk@qt.io>2019-08-30 11:20:44 +0000
commiteec6fbe61a3902489007b998f9372c30c7e77525 (patch)
treef41e443d7506d07b736fea84dd4e44bb84abdf36 /src/plugins/projectexplorer/runcontrol.h
parentcd3876fd1af94e117ddf6dc3fb6c38cfa05a420f (diff)
ProjectExplorer: Remove traces of previous attempt
... to access runconfig aspect data in a generic way from the runcontrol. The plan is now to use a Kit-style variant map with some helper functions for type-safe(r) access. Change-Id: Ia3855758be3fce4efd423b83f185d0df88d266f3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runcontrol.h')
-rw-r--r--src/plugins/projectexplorer/runcontrol.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h
index b3f3cf37fc..794d305fc1 100644
--- a/src/plugins/projectexplorer/runcontrol.h
+++ b/src/plugins/projectexplorer/runcontrol.h
@@ -227,13 +227,6 @@ public:
return runConfiguration() ? runConfiguration()->aspect<T>() : nullptr;
}
- template <typename T>
- auto aspectData() -> decltype(T::runData(nullptr, this)) {
- if (T *asp = aspect<T>())
- return T::runData(asp, this);
- return {};
- }
-
ISettingsAspect *settings(Core::Id id) const;
QString buildKey() const;