forked from qt-creator/qt-creator
QbsProjectManager: Do not call qbs config unnecessarily
- We know the name of the profile for a given kit. There is no need to call qbs config to retrieve it. - Do not update a profile upon kit removal. Change-Id: I1a555233091c69d9ea6daa1e4a11737719c37fdf Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -435,7 +435,7 @@ bool QbsBuildSystem::renameFileInProduct(
|
||||
|
||||
QString QbsBuildSystem::profile() const
|
||||
{
|
||||
return QbsProfileManager::profileForKit(target()->kit());
|
||||
return QbsProfileManager::ensureProfileForKit(target()->kit());
|
||||
}
|
||||
|
||||
bool QbsBuildSystem::checkCancelStatus()
|
||||
|
||||
Reference in New Issue
Block a user