ProjectExplorer: Add a ProjectConfiguration::target()

... with a suitable default implementation accessing a member
populated at construction time instead of walking the parent
chains on each access.

Change-Id: I58dae6da80ed0b023cc603fca13a5a205b123672
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-07-26 16:08:13 +02:00
parent 8493a6b044
commit d16330de6d
16 changed files with 42 additions and 79 deletions

View File

@@ -75,9 +75,6 @@ public:
bool fromMap(const QVariantMap &map) override;
QVariantMap toMap() const override;
Target *target() const;
Project *project() const override;
virtual bool isEnabled() const;
virtual QString disabledReason() const;