Commit 3737986a authored by hjk's avatar hjk

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

Change-Id: I7bb67fd91fb1338f2d42ceee3e47bad20b36a81b
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 63433e7b
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment