Commit 7be8be25 authored by dt's avatar dt
Browse files

Fix wrong importing of old settings overwritting a release configuration

parent 0d5d3908
......@@ -728,7 +728,7 @@ void Qt4Project::addDefaultBuild()
if (v.isValid()) {
qs->setValue(buildConfiguration, "buildConfiguration", QVariant());
setValue(buildConfiguration, "buildConfiguration", v);
} else {
} else if (!value(buildConfiguration, "buildConfiguration").isValid()) {
if (QtVersion *version = qtVersion(buildConfiguration))
setValue(buildConfiguration, "buildConfiguration", version->defaultBuildConfig());
else
......
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