[Bug 64220] Crash wnen changing active language
Jens Dagerbo
jens.dagerbo at swipnet.se
Thu Nov 6 16:59:04 UTC 2003
------- 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=64220
jens.dagerbo at swipnet.se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jens.dagerbo at swipnet.se 2003-11-06 16:58 -------
Subject: kdevelop/parts/classview
CVS commit by dagerbo:
We need to clear the views before we destruct, or the shared objects in the code model explode later. Exactly why this doesn't happen automatically, I haven't figured out yet.. :)
CCMAIL: 64220-done at bugs.kde.org
M +4 -0 classviewpart.cpp 1.51
--- kdevelop/parts/classview/classviewpart.cpp #1.50:1.51
@@ -82,4 +82,8 @@ ClassViewPart::ClassViewPart(QObject *pa
ClassViewPart::~ClassViewPart()
{
+ m_namespaces->view()->clear();
+ m_classes->view()->clear();
+ m_functions->view()->clear();
+
mainWindow()->removeView( m_widget );
delete (ClassViewWidget*) m_widget;
More information about the KDevelop-devel
mailing list