forked from qt-creator/qt-creator
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:
@@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user