forked from qt-creator/qt-creator
Debugger: Remove widget argument from tooltip request
The only information ever used is whether it's c++ or not. Change-Id: I4ca00663856dd66cbdf58c468f175a8c9e41d6a5 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -261,13 +261,6 @@ bool getUninitializedVariables(const Snapshot &snapshot,
|
||||
}
|
||||
|
||||
|
||||
// Editor tooltip support
|
||||
bool isCppEditor(TextEditorWidget *editorWidget)
|
||||
{
|
||||
const TextDocument *document = editorWidget->textDocument();
|
||||
return ProjectFile::classify(document->filePath().toString()) != ProjectFile::Unclassified;
|
||||
}
|
||||
|
||||
QString cppFunctionAt(const QString &fileName, int line, int column)
|
||||
{
|
||||
const Snapshot snapshot = CppModelManager::instance()->snapshot();
|
||||
|
||||
Reference in New Issue
Block a user