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

List:       kde-commits
Subject:    KDE/kdepim/kontact/src
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2009-06-23 17:21:36
Message-ID: 1245777696.627417.10785.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 985891 by cfeck:

Fix crash due to accessing plugin icons in sidePane model

This fix is ugly; when the nested event loop is started, the window
will flash because of the removed sidePane. But it should not crash
anymore.

I will leave this bug open until someone can apply the better fix
(see comment #7)

CCBUG: 182176


 M  +3 -0      mainwindow.cpp  


--- trunk/KDE/kdepim/kontact/src/mainwindow.cpp #985890:985891
@@ -266,6 +266,9 @@
 
   Prefs::self()->writeConfig();
 
+  // During deletion of plugins, we should not access the plugin list (bug #182176)
+  delete mSidePane;
+
   PluginList::ConstIterator end = mPlugins.constEnd();
   for ( PluginList::ConstIterator it = mPlugins.constBegin(); it != end; ++it ) {
     delete *it;
[prev in list] [next in list] [prev in thread] [next in thread] 

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