ProjectExplorer: Update CMake target on DesktopRunConfiguration cloned

Call updateTargetInformation() for all kinds of configuration to fix ExecutableAspect
initialization.

Change-Id: Ie568f589fd6a6570fe84353bf145f7f87d1f0448
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alexander Akulich
2019-12-09 19:18:28 +03:00
committed by Alexandr Akulich
parent 79bbe93c1b
commit 0d76a01379

View File

@@ -154,7 +154,6 @@ bool DesktopRunConfiguration::fromMap(const QVariantMap &map)
if (!RunConfiguration::fromMap(map))
return false;
if (m_kind == Qmake || m_kind == Qbs)
updateTargetInformation();
return true;