Bug#2339: (no subject)

Dirk Lachowski dirk at lachowski.de
Thu Nov 25 10:29:17 UTC 1999

Package: kdevelop
Version: 1.0beta4.1
Severity: grave

Bugreport ID : 11:16,25.11.99

Originator	: Dirk Lachowski
E-Mail		: dirk at lachowski.de

Subject : 

Error Class	: software bug
Error Location	: app-wizard
Priority	: low
Bug Description ---------------------------

if one uses project->new to create an application of type kde/normal kde generates 
a doc/view framework. In the constructor of the doc-class an instance of QList is 
generated to hold the list of current views. This list is told to use autoDelete.

If you have multiple KTMainWindows, each with an associated View and close on of 
this Windows, the Views destructor is called twice. Once by the Frame-Window containing 
the view and a second time, when the view is removed from the viewlist. This crashes the 

How to repeat the error -------------------

See Bug-Description

Bugfix or Workaround ----------------------

remove pViewList->setAutoDelete(true) from the generated doc-constructor

System Information ------------------------

KDevelop version	: 1.0beta4.1
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: suse 6.2
Compiler		: egcs-2.91.66

misc :

More information about the KDevelop-devel mailing list