ProjectExplorer: Remove RunConfiguration::canRunForNode()

All implementations that were returning true effectively did that
in case of node->buildKey() == rc->buildKey(), either directly or
in disguise of qmake's projectPath, so this is the check that is
used now in the two places where this is used.

The new global has the theoretical potential of return true in
cases where it did not before.

Change-Id: Ic5829de5fef0f9a04d516a3d9207685055823775
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-02-22 13:11:25 +01:00
parent f844f54cb7
commit c1c3f74dee
8 changed files with 2 additions and 24 deletions

View File

@@ -57,7 +57,6 @@ private:
friend class IosDeviceTypeAspect;
void updateDisplayNames();
void updateEnabledState() final;
bool canRunForNode(const ProjectExplorer::Node *node) const final;
IosDeviceTypeAspect *m_deviceTypeAspect = nullptr;
};