Commit d9b26d72 authored by Andreas Pakulat's avatar Andreas Pakulat
Browse files

Properly unload toolviews when the plugin is unloaded

CCBUG:178445
parent a04d6374
......@@ -65,6 +65,12 @@ GitPlugin::~GitPlugin()
}
void GitPlugin::unload()
{
core()->uiController()->removeToolView( dvcsViewFactory() );
}
QString GitPlugin::name() const
{
return QLatin1String("Git");
......
......@@ -49,6 +49,8 @@ class GitPlugin: public KDevelop::DistributedVersionControlPlugin
public:
GitPlugin(QObject *parent, const QVariantList & args = QVariantList() );
~GitPlugin();
virtual void unload();
QString name() const;
......
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