Introduced Project::hasBuildSettings()

This commit is contained in:
Roberto Raggi
2009-05-06 16:33:43 +02:00
parent ca09e1fc57
commit 84b314bfee
6 changed files with 15 additions and 4 deletions

View File

@@ -49,9 +49,9 @@ using namespace ProjectExplorer::Internal;
/// BuildSettingsPanelFactory
///
bool BuildSettingsPanelFactory::supports(Project * /* project */)
bool BuildSettingsPanelFactory::supports(Project *project)
{
return true;
return project->hasBuildSettings();
}
PropertiesPanel *BuildSettingsPanelFactory::createPanel(Project *project)