Debugger: Add a comment on what WatchHandler::resetValueCache does

Change-Id: I7bb67fd91fb1338f2d42ceee3e47bad20b36a81b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-06-08 15:50:47 +02:00
parent 63433e7b98
commit 3737986a88

View File

@@ -1193,6 +1193,12 @@ void WatchHandler::removeAllData(bool includeInspectData)
m_model->reinitialize(includeInspectData);
}
/*!
If a displayed item differs from the cached entry it is considered
"new", and correspondingly marked in red. Calling \c resetValueCache()
stores the currently displayed items in the cache, effectively
marking the value as known, and consequently painted black.
*/
void WatchHandler::resetValueCache()
{
m_model->m_valueCache.clear();