summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-30 15:53:26 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-30 15:53:26 (GMT)
commit71f0f010d5f77573531418b5955bb994782b6b64 (patch)
tree8bc87d0b097472755a65bfcda4653641254ee53c
parent121bb850a546be34ab2052bb0c7a49214900fd0a (diff)
remove debugging, delete plugin loader rather than leak it
-rw-r--r--app/kipiinterface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/kipiinterface.cpp b/app/kipiinterface.cpp
index b723895..e080095 100644
--- a/app/kipiinterface.cpp
+++ b/app/kipiinterface.cpp
@@ -362,7 +362,9 @@ void KIPIInterface::slotInstallPlugins(bool checked) {
}
void KIPIInterface::packageFinished() {
- qDebug() << "packageFinished()" << endl;
+ if (d->mPluginLoader) {
+ delete d->mPluginLoader;
+ }
d->mPluginLoader = 0;
d->mPluginMenu->removeAction(d->mInstallPluginAction);
d->mPluginMenu->removeAction(d->mNoPluginAction);