diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-02-17 11:12:53 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-02-17 11:12:53 +0100 |
commit | 3dcba90f6c5a7eb7e61b5e5588d348c166998dcc (patch) | |
tree | 9727b24c3ff114ae7b8d9d7da0da417bf15d66b3 /plugins/haskell/haskellhoverhandler.cpp | |
parent | 6db6c04550d36a84ba3a8c3c95eafbdf4fba87d4 (diff) | |
parent | 4ca4a6b4d108a1681e66de8f82e50d1f7a46d926 (diff) |
Merge remote-tracking branch 'origin/4.6'
Change-Id: Icd367ad5b496c038df0892afe98d2eb61efb6095
Diffstat (limited to 'plugins/haskell/haskellhoverhandler.cpp')
-rw-r--r-- | plugins/haskell/haskellhoverhandler.cpp | 5 |
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, |