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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete
From:       Lamarque Souza <lamarque () kde ! org>
Date:       2012-03-02 2:52:15
Message-ID: 20120302025215.4A430AC896 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1283134 by lvsouza:

Prevent warning messages "KXMLGUIClient::~KXMLGUIClient: 0x1605120 deleted without \
having been removed from the factory first. This will leak standalone popupmenus and \
could lead to crashes." in ~/.xsession-errors.


 M  +4 -0      kopetewindow.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/kopetewindow.cpp #1283133:1283134
@@ -871,6 +871,10 @@
 	{
 		saveOptions();
 		kDebug ( 14000 ) << " shutting down plugin manager";
+		Kopete::PluginList list = Kopete::PluginManager::self()->loadedPlugins();
+		foreach ( Kopete::Plugin *plugin, list ) {
+			guiFactory()->removeClient(plugin);
+		}
 		Kopete::PluginManager::self()->shutdown();
 		return true;
 	}


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

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