summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-19 22:20:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-19 22:30:15 (GMT)
commitfe401ede2a6d8eb845005d26487c96f42d8425fc (patch)
treecc3c2a867984180fc4399103037659c6087879e0 /Source/cmQtAutoGenerators.cxx
parentc95a55ad5ab99a817c79558a5a7d8aaeb34a131b (diff)
downloadCMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.zip
CMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.tar.gz
CMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.tar.bz2
QtAutogen: Use a more-obvious delete-target.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 68f8d09..7d389c0 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -1230,7 +1230,7 @@ bool cmQtAutoGenerators::Run(const std::string& targetDirectory,
this->WriteOldMocDefinitionsFile(targetDirectory);
- delete gg->GetCurrentLocalGenerator();
+ delete lg;
delete gg;
gg = NULL;
return success;