Make targetsetuppage work in customwizard

This commit is contained in:
Tobias Hunger
2010-04-20 12:56:21 +02:00
parent 5678bef399
commit f71049bee4
4 changed files with 12 additions and 7 deletions

View File

@@ -438,10 +438,12 @@ bool CustomProjectWizard::postGenerateFiles(const QWizard *, const Core::Generat
return CustomProjectWizard::postGenerateOpen(l, errorMessage);
}
void CustomProjectWizard::introPageLeft(const QString &project, const QString & /* path */)
void CustomProjectWizard::introPageLeft(const QString &project, const QString & path)
{
// Make '%ProjectName%' available in base replacements.
context()->baseReplacements.insert(QLatin1String("ProjectName"), project);
emit projectLocationChanged(path + QChar('/') + project);
}
} // namespace ProjectExplorer