aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellhoverhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-02-17 11:12:53 +0100
committerEike Ziller <eike.ziller@qt.io>2018-02-17 11:12:53 +0100
commit3dcba90f6c5a7eb7e61b5e5588d348c166998dcc (patch)
tree9727b24c3ff114ae7b8d9d7da0da417bf15d66b3 /plugins/haskell/haskellhoverhandler.cpp
parent6db6c04550d36a84ba3a8c3c95eafbdf4fba87d4 (diff)
parent4ca4a6b4d108a1681e66de8f82e50d1f7a46d926 (diff)
Merge remote-tracking branch 'origin/4.6'
Diffstat (limited to 'plugins/haskell/haskellhoverhandler.cpp')
-rw-r--r--plugins/haskell/haskellhoverhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/haskell/haskellhoverhandler.cpp b/plugins/haskell/haskellhoverhandler.cpp
index ffad6a9..1719297 100644
--- a/plugins/haskell/haskellhoverhandler.cpp
+++ b/plugins/haskell/haskellhoverhandler.cpp
@@ -70,7 +70,9 @@ QString symbolToHtml(const SymbolInfo &info)
return result;
}
-void HaskellHoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos)
+void HaskellHoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidget,
+ int pos,
+ ReportPriority report)
{
cancel();
m_name.clear();
@@ -84,6 +86,7 @@ void HaskellHoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidg
} else {
setPriority(-1);
}
+ report(priority());
}
static void showError(const QPointer<TextEditor::TextEditorWidget> &widget,