[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdesdk/kate/plugins
From:       Dominik Haumann <dhaumann () kde ! org>
Date:       2011-04-16 14:19:57
Message-ID: 20110416141957.552DCAC8D2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1228262 by dhaumann:

fix xml gui factory warnings on application exit or plugin unload

 M  +1 -0      filetemplates/plugin/filetemplates.cpp  
 M  +2 -0      filetree/katefiletreeplugin.cpp  


--- branches/KDE/4.6/kdesdk/kate/plugins/filetemplates/plugin/filetemplates.cpp #1228261:1228262
@@ -109,6 +109,7 @@
 
 PluginViewKateFileTemplates::~PluginViewKateFileTemplates()
 {
+  mainWindow()->guiFactory()->removeClient (this);
 }
 //END PluginViewKateFileTemplates
 
--- branches/KDE/4.6/kdesdk/kate/plugins/filetree/katefiletreeplugin.cpp #1228261:1228262
@@ -213,6 +213,8 @@
 
 KateFileTreePluginView::~KateFileTreePluginView ()
 {
+  mainWindow()->guiFactory()->removeClient(this);
+
   // clean up tree and toolview
   delete m_fileTree->parentWidget();
   // and TreeModel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic