aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2011-10-31 17:35:24 +0100
committerhjk <[email protected]>2011-11-02 08:29:10 +0100
commit384a8ed1cf96e8f6dd1b14508f94352aa579c3de (patch)
tree559a167e7efd820228e2f03d2fcfc6ff2b3b32d3 /src/plugins/debugger/watchhandler.cpp
parent8e508f3a5c79474da156ccb9e8d9ab76143f12a1 (diff)
debugger: don't store empty watched expressions
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index cfec2dc3df9..e281c390191 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -1223,6 +1223,7 @@ void WatchHandler::endCycle()
void WatchHandler::cleanup()
{
m_expandedINames.clear();
+ m_watcherNames.remove(QByteArray());
m_return->reinitialize();
m_locals->reinitialize();
m_tooltips->reinitialize();