Tooltips and help ids: Look for qualified names first.

Task-number: QTCREATORBUG-2330
This commit is contained in:
Leandro Melo
2010-09-22 18:22:08 +02:00
parent cc219a1520
commit 17367b3fce

View File

@@ -331,7 +331,7 @@ CppDeclarableElement::CppDeclarableElement(Symbol *declaration) : CppElement()
setLink(CPPEditor::linkToSymbol(declaration));
QStringList helpIds;
helpIds << m_name << m_qualifiedName;
helpIds << m_qualifiedName << m_name;
setHelpIdCandidates(helpIds);
setHelpMark(m_name);
}