contextbrowser: register as texthint provider to existing views on creation

parent 37d08f75
......@@ -325,6 +325,11 @@ ContextBrowserPlugin::ContextBrowserPlugin(QObject* parent, const QVariantList&)
//Needed global action for the context-menu extensions
m_findUses = new QAction(i18n("Find Uses"), this);
connect(m_findUses, &QAction::triggered, this, &ContextBrowserPlugin::findUses);
const auto documents = core()->documentController()->openDocuments();
for (KDevelop::IDocument* document : documents) {
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