forked from qt-creator/qt-creator
Create type hierarchy widget; Refactor code from C++ hover into a simple reusable model.
Hierarchy information removed from tooltips now.
This commit is contained in:
@@ -1755,6 +1755,9 @@ void CPPEditor::unCommentSelection()
|
||||
|
||||
CPPEditor::Link CPPEditor::linkToSymbol(CPlusPlus::Symbol *symbol)
|
||||
{
|
||||
if (!symbol)
|
||||
return Link();
|
||||
|
||||
const QString fileName = QString::fromUtf8(symbol->fileName(),
|
||||
symbol->fileNameLength());
|
||||
unsigned line = symbol->line();
|
||||
|
||||
Reference in New Issue
Block a user