forked from qt-creator/qt-creator
Profile -> Kit variable renaming
Change-Id: I6cc06684134030bd527d9dcce21ad17938a56927 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
5aef98bb66
commit
4ef2fbd4ce
@@ -269,14 +269,14 @@ ProjectExplorer::IProjectManager *QmlProject::projectManager() const
|
||||
return m_manager;
|
||||
}
|
||||
|
||||
bool QmlProject::supportsKit(ProjectExplorer::Kit *p) const
|
||||
bool QmlProject::supportsKit(ProjectExplorer::Kit *k) const
|
||||
{
|
||||
Core::Id deviceType = ProjectExplorer::DeviceTypeKitInformation::deviceTypeId(p);
|
||||
Core::Id deviceType = ProjectExplorer::DeviceTypeKitInformation::deviceTypeId(k);
|
||||
if (deviceType != ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE)
|
||||
return false;
|
||||
|
||||
// TODO: Limit supported versions?
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(p);
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(k);
|
||||
return version;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user