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

List:       kde-commits
Subject:    branches/work/parley-practice/parley/src
From:       Frederik Gladhorn <gladhorn () kde ! org>
Date:       2009-09-30 22:38:51
Message-ID: 1254350331.458204.15718.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029860 by gladhorn:

delete the component before the document
crash--


 M  +3 -0      parleymainwindow.cpp  


--- branches/work/parley-practice/parley/src/parleymainwindow.cpp #1029859:1029860
@@ -104,6 +104,9 @@
 
 ParleyMainWindow::~ParleyMainWindow()
 {
+    guiFactory()->removeClient(m_currentComponentWindow);
+    centralWidget()->layout()->removeWidget(m_currentComponentWindow);
+    delete m_currentComponentWindow;
     ParleyDocument::destroy();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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