debugger: remove unneeded argument to showToolTip

This commit is contained in:
hjk
2010-11-29 13:38:02 +01:00
parent c9ca3359e6
commit 78850785c1
3 changed files with 12 additions and 20 deletions

View File

@@ -3325,7 +3325,7 @@ bool GdbEngine::showToolTip()
hideDebuggerToolTip();
return false;
}
showDebuggerToolTip(m_toolTipPos, watchHandler()->model(TooltipsWatch), index, m_toolTipExpression);
showDebuggerToolTip(m_toolTipPos, index);
return true;
}
@@ -3333,14 +3333,14 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos)
{
if (state() != InferiorStopOk || !isCppEditor(editor)) {
//qDebug() << "SUPPRESSING DEBUGGER TOOLTIP, INFERIOR NOT STOPPED/Non Cpp editor";
//qDebug() << "SUPPRESSING DEBUGGER TOOLTIP, INFERIOR NOT STOPPED "
// " OR NOT A CPPEDITOR";
return;
}
if (debuggerCore()->boolSetting(DebugDebuggingHelpers)) {
// minimize interference
// Minimize interference.
if (debuggerCore()->boolSetting(DebugDebuggingHelpers))
return;
}
m_toolTipPos = mousePos;
int line, column;