Commit a0d86cd6 authored by hjk's avatar hjk
Browse files

fix unmaintained plugin

parent 2f5f358f
......@@ -34,7 +34,6 @@
#include <coreplugin/baseview.h>
#include <coreplugin/icore.h>
#include <coreplugin/uniqueidmanager.h>
#include <QtCore/QtPlugin>
......@@ -63,10 +62,10 @@ bool RegExpPlugin::initialize(const QStringList &arguments, QString *errorMessag
Settings settings;
settings.fromQSettings(core->settings());
m_regexpWindow->setSettings(settings);
const int plugId = core->uniqueIDManager()->uniqueIdentifier(QLatin1String("RegExpPlugin"));
addAutoReleasedObject(new Core::BaseView("TextEditor.RegExpWindow",
m_regexpWindow,
QList<int>() << plugId,
Core::Contect("RegExpPlugin"),
plugId,
Qt::RightDockWidgetArea));
return true;
}
......
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