summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-26 19:21:49 +0200
committerStephen Kelly <steveire@gmail.com>2015-09-26 19:21:49 +0200
commitdced2fe10f55222ece04c12693d68e13e30771d0 (patch)
treebbf4db46c101b1bea5d735af7fd7213364d190c5 /Source/cmQtAutoGenerators.cxx
parentf9a77e76e4e1c19c094ff770487e677a92a1198b (diff)
downloadcmake-dced2fe10f55222ece04c12693d68e13e30771d0.tar.gz
QtAutogen: Rename variable.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index f48c0bce2a..c069a49760 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -681,7 +681,8 @@ void cmQtAutoGenerators::SetupSourceFiles(cmTarget const* target,
cmSourceFile* sf = *fileIt;
std::string absFile = cmsys::SystemTools::GetRealPath(
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"));
if(cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC")))
@@ -712,7 +713,7 @@ void cmQtAutoGenerators::SetupSourceFiles(cmTarget const* target,
if (!generated)
{
- if (skipMoc)
+ if (skipFileForMoc)
{
this->SkipMoc += skipMocSep;
this->SkipMoc += absFile;