Commit 792eb84f authored by Olivier Goffart's avatar Olivier Goffart
Browse files

Fix warning about suggested parentheses

The intended meaning is to toggle the DebugBuild flag, so the & was too much

Reviewed-by: Tobias Hunger
parent 26aec743
......@@ -245,7 +245,7 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
// we want to havbe two BCs set up, one to build debug, the other to build release.
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig,
info.additionalArguments, info.directory));
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig & info.buildConfig ^ QtVersion::DebugBuild,
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig ^ QtVersion::DebugBuild,
info.additionalArguments, info.directory));
}
......
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