forked from qt-creator/qt-creator
CppTools: Simplify ProjectUpdateInfo
...by using KitInfo. Change-Id: I17b4dd6c368ba8b10b765f12a4663c041c9be7e5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -51,6 +51,9 @@ KitInfo::KitInfo(Project *project)
|
||||
cToolChain = ToolChainKitInformation::toolChain(kit, Constants::C_LANGUAGE_ID);
|
||||
cxxToolChain = ToolChainKitInformation::toolChain(kit, Constants::CXX_LANGUAGE_ID);
|
||||
}
|
||||
|
||||
// Sysroot
|
||||
sysRootPath = ProjectExplorer::SysRootKitInformation::sysRoot(kit).toString();
|
||||
}
|
||||
|
||||
bool KitInfo::isValid() const
|
||||
|
||||
Reference in New Issue
Block a user