diff options
author | hjk <hjk@qt.io> | 2019-02-18 18:24:10 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-02-20 11:27:16 +0000 |
commit | ea9dad47193bc466642a3f75e690bfb8f4672805 (patch) | |
tree | d353eedefdce13a6d7a586398fad44515df6a4de /src/plugins/winrt | |
parent | 7f4c6e38bf89271950c752af123ce5a9680ab3ac (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.cpp | 2 |
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()) { |