diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-02-17 11:10:22 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-02-17 10:11:21 +0000 |
commit | 4ca4a6b4d108a1681e66de8f82e50d1f7a46d926 (patch) | |
tree | 9727b24c3ff114ae7b8d9d7da0da417bf15d66b3 /plugins/haskell/haskellhoverhandler.cpp | |
parent | 6db6c04550d36a84ba3a8c3c95eafbdf4fba87d4 (diff) |
Adapt to Qt Creator changes4.6
In hover handler and run configuration factory
Change-Id: Ib60db43560e8485ce9b5a8f9ddcb703382a0ef70
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
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, |