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

List:       kdevelop-bugs
Subject:    [Bug 102277] crashes everytime closing KDevelop
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-04-15 6:33:34
Message-ID: 20050415063334.18839.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=102277         
rgruber users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From rgruber users sourceforge net  2005-04-15 08:33 -------
CVS commit by rgruber: 

Remove the view from the mainwindow before destroying the view.
This will fix the crash when exiting KDevelop.
BUGS:102277


  M            securitypart.cpp   1.4


--- kdevelop/parts/security/securitypart.cpp  #1.3:1.4
 @ -60,4 +60,9  @ SecurityPart::SecurityPart(QObject *pare
 SecurityPart::~SecurityPart()
 {
+        if ( m_widget )
+        {
+                mainWindow()->removeView( m_widget );
+        }
+
     delete m_widget;
 }


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

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