Bug 75854

Summary: Reproducable : clicking a file in File creation tab after closing current project crashes kdevelop
Product: [Applications] kdevelop Reporter: Jose Hernandez <code>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jose Hernandez 2004-02-22 19:04:44 UTC
Version:           3.0.90-CVS (using KDE 3.2.90 (CVS >= 20040117), compiled sources)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r6

Steps:

open a project
=click to "File Creation" tab next to "File Selector"
=notice the files creatable with the current project
close the project
=notice the file listing remains
click a file in the list

kdevelop should crash
Comment 1 Jens Dagerbo 2004-02-22 21:22:40 UTC
CVS commit by dagerbo: 

forgotten connection. fixes crash.

CCMAIL: 75854-done@bugs.kde.org


  M +1 -0      filecreate_part.cpp   1.44


--- kdevelop/parts/filecreate/filecreate_part.cpp  #1.43:1.44
@@ -62,4 +62,5 @@ FileCreatePart::FileCreatePart(QObject *
 
   connect( core(), SIGNAL(projectOpened()), this, SLOT(slotProjectOpened()) );
+  connect( core(), SIGNAL(projectClosed()), this, SLOT(slotProjectClosed()) );
   
         _configProxy = new ConfigWidgetProxy( core() );