Class wizard

Bernd Gehrmann bernd at physik.hu-berlin.de
Thu Jul 15 22:54:12 UTC 1999


>From classwizard/ccwvirtualmethodview.cpp:

void CCWVirtualMethodView::setStore(CClassStore *aStore ) {
  assert( aStore != NULL );
  QListBox *lb;
  ...
  lb = classCombo.listBox();
  ...
      lb->inSort( store->classIterator.current()->name );
  ...
}

Sorry, but this does not work. Combo boxes have only
list boxes in Windows style. In Motif style, they have
popup menus. Result: classCombo.listBox() == 0, and
KDevelop crashes.

Bernd.



More information about the KDevelop-devel mailing list