diff options
author | hjk <[email protected]> | 2012-02-07 15:39:27 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2012-02-07 15:48:42 +0100 |
commit | 9c57b1000f51719a44e64d4edf9c2af912877f11 (patch) | |
tree | 4e0faae2ab3e877f60e6ea02def48ce9e84b13f5 /src/plugins/debugger/watchhandler.cpp | |
parent | 84b82446e09191e64d3af5b4dc73a59a0d2adb3f (diff) |
debugger: Do not display empty tooltips
Task-number: QTCREATORBUG-6893
Change-Id: Idb780e97c23f6cc5d1bcede149959b2e58f9eaa2
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index b925766366f..542b7d2469a 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1893,5 +1893,11 @@ void WatchHandler::resetLocation() } } +bool WatchHandler::isValidToolTip(const QByteArray &iname) const +{ + WatchItem *item = m_tooltips->findItem(iname, m_tooltips->m_root); + return item && !item->type.trimmed().isEmpty(); +} + } // namespace Internal } // namespace Debugger |