Commit a3165104 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: correctly unregister the registered TextHintProvider

BUG: 427338
parent 5b0ca33d
......@@ -469,7 +469,7 @@ public:
// unregister all text-hint providers, else we might crash
for (auto view : qAsConst(m_hoverViews)) {
qobject_cast<KTextEditor::TextHintInterface *>(view)->unregisterTextHintProvider(m_hover.data());
qobject_cast<KTextEditor::TextHintInterface *>(view)->unregisterTextHintProvider(m_forwardHover.data());
}
clearAllLocationMarks();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment