Commit c997e5e5 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppEditor: Clean up CppHoverHandler

Change-Id: I1ac54206ca2735c55c1468ddd4ab5f3106665f16
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent c554dae6
......@@ -42,9 +42,6 @@ using namespace TextEditor;
namespace CppEditor {
namespace Internal {
CppHoverHandler::CppHoverHandler()
{}
void CppHoverHandler::identifyMatch(TextEditorWidget *editorWidget, int pos)
{
if (!editorWidget->extraSelectionTooltip(pos).isEmpty()) {
......
......@@ -33,12 +33,9 @@ namespace Internal {
class CppHoverHandler : public TextEditor::BaseHoverHandler
{
public:
CppHoverHandler();
private:
virtual void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos);
virtual void decorateToolTip();
void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override;
void decorateToolTip() override;
};
} // namespace Internal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment