aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2010-01-08 18:16:16 +0100
committerhjk <[email protected]>2010-01-08 18:17:02 +0100
commit9052bd279fb82430af16015bf929fd7813a36269 (patch)
tree247b3f306fb687f546cf786f09dc16d56e6b7d67 /src/plugins/debugger/watchhandler.cpp
parent81abc2ce7a73700c26eb211aef99b7f81c0d0f7c (diff)
debugger: fix editor tooltips for new dumpers
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 91d87d8c7e7..8028695349c 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -1517,10 +1517,10 @@ WatchModel *WatchHandler::modelForIName(const QByteArray &iname) const
{
if (iname.startsWith("local"))
return m_locals;
- if (iname.startsWith("watch"))
- return m_watchers;
if (iname.startsWith("tooltip"))
return m_tooltips;
+ if (iname.startsWith("watch"))
+ return m_watchers;
QTC_ASSERT(false, qDebug() << "INAME: " << iname);
return 0;
}