[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 178445] only show project relevant kcm's in the project config
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2010-08-29 20:13:52
Message-ID: 20100829201352.23C41632BE () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=178445
--- Comment #5 from Andreas Pakulat <apaku gmx de> 2010-08-29 22:13:51 ---
commit d9b26d7228a826263dce4d1696e08e74eae297a3
Author: Andreas Pakulat <apaku@gmx.de>
Date: Wed Jul 22 14:15:56 2009 +0000
Properly unload toolviews when the plugin is unloaded
CCBUG:178445
diff --git a/gitplugin.cpp b/gitplugin.cpp
index 02fc821..17c8ee7 100644
--- a/gitplugin.cpp
+++ b/gitplugin.cpp
@@ -65,6 +65,12 @@ GitPlugin::~GitPlugin()
}
+void GitPlugin::unload()
+{
+ core()->uiController()->removeToolView( dvcsViewFactory() );
+}
+
+
QString GitPlugin::name() const
{
return QLatin1String("Git");
diff --git a/gitplugin.h b/gitplugin.h
index 1ab5a13..081a4f0 100644
--- a/gitplugin.h
+++ b/gitplugin.h
@@ -49,6 +49,8 @@ class GitPlugin: public
KDevelop::DistributedVersionControlPlugin
public:
GitPlugin(QObject *parent, const QVariantList & args = QVariantList() );
~GitPlugin();
+
+ virtual void unload();
QString name() const;
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic