Commit 1e7b6051 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Christoph Cullmann

lspclient: correctly unregister the registered TextHintProvider

BUG: 427338


(cherry picked from commit a3165104)
parent 52556cfe
......@@ -486,7 +486,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