check for !doc

This commit is contained in:
mae
2008-12-12 12:08:02 +01:00
parent 14f916f7b2
commit 364a869e38

View File

@@ -177,7 +177,6 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in
break; break;
} }
} }
}
if (m_toolTip.isEmpty()) { if (m_toolTip.isEmpty()) {
unsigned lineno = tc.blockNumber() + 1; unsigned lineno = tc.blockNumber() + 1;
@@ -188,6 +187,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in
} }
} }
} }
}
if (m_toolTip.isEmpty()) { if (m_toolTip.isEmpty()) {
// Move to the end of a qualified name // Move to the end of a qualified name