From ea9dad47193bc466642a3f75e690bfb8f4672805 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 18 Feb 2019 18:24:10 +0100 Subject: 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 --- src/plugins/winrt/winrtrunnerhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/winrt') 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()) { -- cgit v1.2.3