--===============0381493481== Content-Type: multipart/alternative; boundary="----=_Part_46808_28496060.1224218352851" ------=_Part_46808_28496060.1224218352851 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline HI KKDE maintainers. Lword & other koffice applications core dump on startup and it occurs in kfilewidget.cpp. I am talking about building koffice and klibs out of the svn repository The change that fixes is to apply checks for null pointers in KFileWidget::showEvent(). I don't know what these pointers are, and perhaps it is an error in koffice applications, but a simple check as shown below does catch the error and allow kword to come up. void KFileWidget::showEvent(QShowEvent* event) { if (d) { // this is a new check if ( !d->hasView ) { // delayed view-creation if (d->ops) { // this is a new check d->ops->setView( KFile::Default ); d->ops->view()->setSizePolicy( QSizePolicy( QSizePolicy::Maximum, QSizePolicy::Maximum ) ); } d->hasView = true; } if (d->ops) // this is a new check d->ops->clearHistory(); } QWidget::showEvent(event); -David ------=_Part_46808_28496060.1224218352851 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
HI KKDE maintainers.
Lword & other koffice applications core dump on startup and it occurs in kfilewidget.cpp.  I am talking about  building koffice and klibs out of the svn repository

The change that fixes is to apply checks for null pointers in KFileWidget::showEvent().  I don't know what these pointers are, and perhaps it is an error in koffice applications, but a simple check as shown below does catch the error and allow kword to come up. 



void KFileWidget::showEvent(QShowEvent* event)
{

  if (d) {  // this is a new check
    if ( !d->hasView ) { // delayed view-creation
      if (d->ops) { // this is a new check
        d->ops->setView( KFile::Default );
        d->ops->view()->setSizePolicy( QSizePolicy( QSizePolicy::Maximum, QSizePolicy::Maximum ) );
      }
        d->hasView = true;
    }
    if (d->ops) // this is a new check
      d->ops->clearHistory();
  }
  QWidget::showEvent(event);




-David




------=_Part_46808_28496060.1224218352851-- --===============0381493481== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0381493481==--