From 5d30cfc5f70e9bf7f604a64ca47d4c5cd213d11f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 22 Sep 2010 12:43:15 -0400 Subject: Set a watch on variables added through the gui --- Source/QtDialog/QCMake.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index c319cb4..48871c2 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -249,6 +249,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps) // add some new properites foreach(QCMakeProperty s, props) { + this->CMakeInstance->WatchUnusedCli(s.Key.toAscii().data()); + if(s.Type == QCMakeProperty::BOOL) { this->CMakeInstance->AddCacheEntry(s.Key.toAscii().data(), -- cgit v0.12