Unwatch manual variables upon removal in cmake-gui

This commit is contained in:
Ben Boeckel 2011-01-13 17:59:04 -05:00
parent 393903218d
commit 949d32c306
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps)
// remove some properites // remove some properites
foreach(QString s, toremove) foreach(QString s, toremove)
{ {
this->CMakeInstance->UnwatchUnusedCli(s.toAscii().data());
cachem->RemoveCacheEntry(s.toAscii().data()); cachem->RemoveCacheEntry(s.toAscii().data());
} }