Commit 98b230c9 authored by Tobias Hunger's avatar Tobias Hunger

s/profile()/kit()/ in Qt4TargetSetupWidget

Change-Id: Ia785f715b120b32875944d3818d85a24a5f38a7b
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent a4e2572f
......@@ -119,7 +119,7 @@ Qt4TargetSetupWidget::Qt4TargetSetupWidget(ProjectExplorer::Kit *k,
Qt4TargetSetupWidget::~Qt4TargetSetupWidget()
{ }
ProjectExplorer::Kit *Qt4TargetSetupWidget::profile()
ProjectExplorer::Kit *Qt4TargetSetupWidget::kit()
{
return m_kit;
}
......
......@@ -67,7 +67,7 @@ public:
const QList<BuildConfigurationInfo> &infoList);
~Qt4TargetSetupWidget();
ProjectExplorer::Kit *profile();
ProjectExplorer::Kit *kit();
void clearKit();
bool isKitSelected() const;
......
......@@ -278,7 +278,7 @@ void TargetSetupPage::setupWidgets()
void TargetSetupPage::reset()
{
foreach (Qt4TargetSetupWidget *widget, m_widgets.values()) {
ProjectExplorer::Kit *k = widget->profile();
ProjectExplorer::Kit *k = widget->kit();
if (!k)
continue;
removeProject(k, m_proFilePath);
......@@ -670,7 +670,7 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
if (!widget->isKitSelected())
continue;
ProjectExplorer::Kit *k = widget->profile();
ProjectExplorer::Kit *k = widget->kit();
cleanKit(k);
toRegister.append(KitBuildInfo(k, widget->selectedBuildConfigurationInfoList()));
widget->clearKit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment