QtAutogen: Rename variable.

This commit is contained in:
Stephen Kelly 2015-09-26 19:21:49 +02:00
parent f9a77e76e4
commit dced2fe10f
1 changed files with 3 additions and 2 deletions

View File

@ -681,7 +681,8 @@ void cmQtAutoGenerators::SetupSourceFiles(cmTarget const* target,
cmSourceFile* sf = *fileIt; cmSourceFile* sf = *fileIt;
std::string absFile = cmsys::SystemTools::GetRealPath( std::string absFile = cmsys::SystemTools::GetRealPath(
sf->GetFullPath()); sf->GetFullPath());
bool skipMoc = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC")); bool skipFileForMoc =
cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC"));
bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED")); bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));
if(cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC"))) if(cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC")))
@ -712,7 +713,7 @@ void cmQtAutoGenerators::SetupSourceFiles(cmTarget const* target,
if (!generated) if (!generated)
{ {
if (skipMoc) if (skipFileForMoc)
{ {
this->SkipMoc += skipMocSep; this->SkipMoc += skipMocSep;
this->SkipMoc += absFile; this->SkipMoc += absFile;