Bug 75854 - Reproducable : clicking a file in File creation tab after closing current project crashes kdevelop
Summary: Reproducable : clicking a file in File creation tab after closing current pro...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 19:04 UTC by Jose Hernandez
Modified: 2004-02-22 21:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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() );