Commit e2ee037a authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: connect some more to detect revision invalidation

parent c81c2e12
......@@ -234,7 +234,9 @@ public:
auto conn = connect(doc, SIGNAL(aboutToInvalidateMovingInterfaceContent(KTextEditor::Document*)),
this, SLOT(clearRevisions(KTextEditor::Document*)));
Q_ASSERT(conn);
// disable until confirmation/clarification on the above
conn = connect(doc, SIGNAL(aboutToDeleteMovingInterfaceContent(KTextEditor::Document*)),
this, SLOT(clearRevisions(KTextEditor::Document*)));
Q_ASSERT(conn);
m_guards.emplace(doc->url(), doc);
}
......
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