forked from qt-creator/qt-creator
ClangCodeModel: Let user choose the override
.... when following virtual function calls. This brings us up to par with the built-in code model. We do lose the icons, but they are of very little use in this context. Change-Id: I29b27d538e7277d06a5af7acee07bddb6eb94c98 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -132,10 +132,8 @@ void RefactoringEngine::globalFollowSymbol(
|
||||
inNextSplit);
|
||||
return;
|
||||
}
|
||||
QTC_ASSERT(client->documentOpen(cursor.textDocument()),
|
||||
client->openDocument(cursor.textDocument()));
|
||||
client->symbolSupport().findLinkAt(cursor.textDocument(), cursor.cursor(), std::move(callback),
|
||||
true);
|
||||
client->followSymbol(cursor.textDocument(), cursor.cursor(), cursor.editorWidget(),
|
||||
std::move(callback), true, inNextSplit);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user