Fix warning about suggested parentheses

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

Reviewed-by: Tobias Hunger
This commit is contained in:
Olivier Goffart
2010-08-25 09:54:03 +02:00
parent 26aec74359
commit 792eb84fe4

View File

@@ -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. // we want to havbe two BCs set up, one to build debug, the other to build release.
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig, targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig,
info.additionalArguments, info.directory)); 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)); info.additionalArguments, info.directory));
} }