aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/winrt
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-02-18 18:24:10 +0100
committerhjk <hjk@qt.io>2019-02-20 11:27:16 +0000
commitea9dad47193bc466642a3f75e690bfb8f4672805 (patch)
treed353eedefdce13a6d7a586398fad44515df6a4de /src/plugins/winrt
parent7f4c6e38bf89271950c752af123ce5a9680ab3ac (diff)
ProjectExplorer: Introduce Target::buildTarget(buildKey)
A convenience wrapper for applicationTargets().buildTargetInfo(buildKey), the only context using the BuildTargetInfoList member. Also, only one of the free comparison functions is ever used, only in one place. Inline it there. Change-Id: I7565e9d51d429af34352649e235243e5b3328fe9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/winrt')
-rw-r--r--src/plugins/winrt/winrtrunnerhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/winrt/winrtrunnerhelper.cpp b/src/plugins/winrt/winrtrunnerhelper.cpp
index bbb17f67b3..061dd0ca57 100644
--- a/src/plugins/winrt/winrtrunnerhelper.cpp
+++ b/src/plugins/winrt/winrtrunnerhelper.cpp
@@ -68,7 +68,7 @@ WinRtRunnerHelper::WinRtRunnerHelper(ProjectExplorer::RunWorker *runWorker, QStr
return;
}
- const BuildTargetInfo bti = target->applicationTargets().buildTargetInfo(runConfiguration->buildKey());
+ const BuildTargetInfo bti = runConfiguration->buildTargetInfo();
m_executableFilePath = bti.targetFilePath.toString();
if (m_executableFilePath.isEmpty()) {