forked from qt-creator/qt-creator
LanguageClient: Remove unnecessary function re-implementation
Change-Id: I44862986a5ecc808b834d7c6d76191cbd9fd07a6 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -96,14 +96,6 @@ void HoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidget,
|
|||||||
m_client->sendContent(request);
|
m_client->sendContent(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HoverHandler::operateTooltip(TextEditor::TextEditorWidget *editorWidget, const QPoint &point)
|
|
||||||
{
|
|
||||||
if (toolTip().isEmpty())
|
|
||||||
Utils::ToolTip::hide();
|
|
||||||
else
|
|
||||||
Utils::ToolTip::show(point, toolTip(), editorWidget);
|
|
||||||
}
|
|
||||||
|
|
||||||
void HoverHandler::handleResponse(const HoverRequest::Response &response)
|
void HoverHandler::handleResponse(const HoverRequest::Response &response)
|
||||||
{
|
{
|
||||||
m_currentRequest.reset();
|
m_currentRequest.reset();
|
||||||
|
@@ -45,7 +45,6 @@ protected:
|
|||||||
void identifyMatch(TextEditor::TextEditorWidget *editorWidget,
|
void identifyMatch(TextEditor::TextEditorWidget *editorWidget,
|
||||||
int pos,
|
int pos,
|
||||||
ReportPriority report) override;
|
ReportPriority report) override;
|
||||||
void operateTooltip(TextEditor::TextEditorWidget *editorWidget, const QPoint &point) override;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void handleResponse(const LanguageServerProtocol::HoverRequest::Response &response);
|
void handleResponse(const LanguageServerProtocol::HoverRequest::Response &response);
|
||||||
|
Reference in New Issue
Block a user