debugger: don't try to compute tooltip if it's not shown

This commit is contained in:
hjk
2010-06-29 10:58:09 +02:00
parent b50ba6a271
commit effc5abdd8
4 changed files with 39 additions and 16 deletions

View File

@@ -61,8 +61,7 @@ void GdbEngine::updateLocalsPython(const QByteArray &varList)
QByteArray watchers;
if (!m_toolTipExpression.isEmpty())
watchers += m_toolTipExpression.toLatin1()
+ '#' + tooltipINameForExpression(m_toolTipExpression.toLatin1());
watchers += m_toolTipExpression.toLatin1() + '#' + tooltipIName();
QHash<QByteArray, int> watcherNames = handler->watcherNames();
QHashIterator<QByteArray, int> it(watcherNames);