One bug...

Roland Krause rokrau at
Wed Jun 6 23:51:55 UTC 2001

Falk, friends,

I found a bug in CKDevelop. 

A file that is modified is not saved upon closing (Ctrl-W or

I tracked it down, but I dont know the solution... Here is what I

The following code in docviewman.cpp:731 ff.

  // the first object we'll find is the layout,
  // the second test will be successful for the one and only embedded
  for ( pChild = pL->first(); pChild && !pView; pChild = pL->next()) {
    if (pChild->inherits("QWidget")) {
      pView = (QWidget*) pChild;

  if (CEditWidget* pEditView = dynamic_cast<CEditWidget*> (pView)) {

tries to find the CEditWidget, it does find a QWidget (btw. a break 
is missing also) but the dynamic_cast to a CEditWidget pointer return 0
the document contained in the view is never given the chance to save

Maybe there is an easy fix, I dont see it, but I am confident that you


Roland Krause
In the garage of life there are mechanics and 
there are drivers. Mechanics wanted!

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!

to unsubscribe from this list send an email to kdevelop-devel-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop-devel mailing list