Summary: | after unloading parts runtime, kdevelop crashes on close | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Jens Dagerbo <jens.dagerbo> |
Component: | kmdi | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | patch |
Description
Jens Dagerbo
2004-01-12 02:18:33 UTC
Created attachment 4110 [details]
patch
This trivial patch seems to fix the problem for me.
I can verfiy this crash - and also that the patch fixed it please commit it Subject: kdelibs/kmdi CVS commit by dagerbo: Fixes bug 72436. Reviewed by coolo ;) CCMAIL: 72436-done@bugs.kde.org M +1 -1 kmdiguiclient.cpp 1.17 --- kdelibs/kmdi/kmdiguiclient.cpp #1.16:1.17 @@ -223,5 +223,5 @@ void KMDIGUIClient::addToolView(KMdiTool kdDebug(760)<<"*****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****"<<endl; KAction *a=new ToggleToolViewAction(i18n("Show %1").arg(mtva->wrappedWidget()->caption()), - QString::null,dynamic_cast<KDockWidget*>(mtva->wrapperWidget()),m_mdiMainFrm,actionCollection(),"nothing"); + QString::null,dynamic_cast<KDockWidget*>(mtva->wrapperWidget()),m_mdiMainFrm,actionCollection() ); connect(a,SIGNAL(destroyed(QObject*)),this,SLOT(actionDeleted(QObject*))); m_toolViewActions.append(a); |