when create the project, set its compiler set type
This commit is contained in:
parent
4f2b87662f
commit
205860b81f
|
@ -631,9 +631,7 @@ bool Project::assignTemplate(const std::shared_ptr<ProjectTemplate> aTemplate)
|
|||
|
||||
mOptions = aTemplate->options();
|
||||
mOptions.compilerSet = pSettings->compilerSets().defaultIndex();
|
||||
if (pSettings->compilerSets().defaultSet()) {
|
||||
mOptions.compilerOptions = pSettings->compilerSets().defaultSet()->iniOptions();
|
||||
}
|
||||
updateCompilerSetType();
|
||||
mOptions.icon = aTemplate->icon();
|
||||
|
||||
// Copy icon to project directory
|
||||
|
|
|
@ -33,6 +33,7 @@ ProjectOptions::ProjectOptions()
|
|||
includeVersionInfo = false;
|
||||
supportXPThemes = false;
|
||||
compilerSet = 0;
|
||||
compilerSetType = 0;
|
||||
staticLink = true;
|
||||
addCharset = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue