From 93251de4b1c6311bd2611dc6abcca52923e7fe09 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Tue, 4 Jul 2017 10:15:08 +0200 Subject: [PATCH] TextEditor: Fix crash on F1 Change-Id: I5f834417ff68544189297e30ef4364b14fa5d162 Reviewed-by: David Schulz --- src/plugins/texteditor/basehoverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();