diff options
author | hjk <[email protected]> | 2019-02-22 13:11:25 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2019-02-26 08:39:29 +0000 |
commit | c1c3f74dee8be796ebbcd88bfb7ada96fe49cc59 (patch) | |
tree | fa56171426f67bd3871cc58771d3732102c58174 /src/plugins/ios/iosrunconfiguration.cpp | |
parent | f844f54cb7ec61914ba9afbe93ef47cde8e2f6db (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunconfiguration.cpp')
-rw-r--r-- | src/plugins/ios/iosrunconfiguration.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/ios/iosrunconfiguration.cpp b/src/plugins/ios/iosrunconfiguration.cpp index 435a67ef294..2790734e583 100644 --- a/src/plugins/ios/iosrunconfiguration.cpp +++ b/src/plugins/ios/iosrunconfiguration.cpp @@ -157,11 +157,6 @@ void IosRunConfiguration::updateEnabledState() return RunConfiguration::updateEnabledState(); } -bool IosRunConfiguration::canRunForNode(const Node *node) const -{ - return node->filePath().toString() == buildKey(); -} - QString IosRunConfiguration::applicationName() const { Project *project = target()->project(); |