diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2011-01-13 22:59:04 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2011-01-13 22:59:04 (GMT) |
commit | 949d32c3067830a1376950fc78dbcde39bc378a8 (patch) | |
tree | a8d73d167326d4990354be5fa8fa2576036a6cc9 /Source/QtDialog/QCMake.cxx | |
parent | 393903218dc5ca67d23cc5d31f9a5c87cd06ca17 (diff) | |
download | CMake-949d32c3067830a1376950fc78dbcde39bc378a8.zip CMake-949d32c3067830a1376950fc78dbcde39bc378a8.tar.gz CMake-949d32c3067830a1376950fc78dbcde39bc378a8.tar.bz2 |
Unwatch manual variables upon removal in cmake-gui
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 182db0f..a40a175 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -242,6 +242,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps) // remove some properites foreach(QString s, toremove) { + this->CMakeInstance->UnwatchUnusedCli(s.toAscii().data()); + cachem->RemoveCacheEntry(s.toAscii().data()); } |