aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/basehoverhandler.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-07-04 10:15:08 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-07-04 08:21:55 +0000
commit93251de4b1c6311bd2611dc6abcca52923e7fe09 (patch)
tree295e0bb5ff6cc68363a0a22f6a60aff63163a5a0 /src/plugins/texteditor/basehoverhandler.cpp
parent7155a10bb73535bc8df9483ec45efbaaf263ddea (diff)
TextEditor: Fix crash on F1
Change-Id: I5f834417ff68544189297e30ef4364b14fa5d162 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/basehoverhandler.cpp')
-rw-r--r--src/plugins/texteditor/basehoverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/basehoverhandler.cpp b/src/plugins/texteditor/basehoverhandler.cpp
index 025d27b057b..86d8eb0bbcd 100644
--- a/src/plugins/texteditor/basehoverhandler.cpp
+++ b/src/plugins/texteditor/basehoverhandler.cpp
@@ -84,7 +84,7 @@ QString BaseHoverHandler::contextHelpId(TextEditorWidget *widget, int pos)
// If the tooltip is visible and there is a help match, this match is used to update
// the help id. Otherwise, let the identification process happen.
if (!Utils::ToolTip::isVisible() || !lastHelpItemIdentified().isValid())
- process(widget, pos, ReportPriority()); // TODO
+ process(widget, pos, [](int){});
if (lastHelpItemIdentified().isValid())
return lastHelpItemIdentified().helpId();