forked from qt-creator/qt-creator
debugger: Do not display empty tooltips
Task-number: QTCREATORBUG-6893 Change-Id: Idb780e97c23f6cc5d1bcede149959b2e58f9eaa2 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user