dead code in KHTMLPart::htmlError

Leo Savernik l.savernik at aon.at
Wed Jan 5 15:45:15 GMT 2005


I've just found this snippet of dead code in KHTMLPart::htmlError:

  ...
  emit completed();
  return;
  // following disabled until 3.1

  QString errorName, techName, description;
  QStringList causes, solutions;

  QByteArray raw = KIO::rawErrorDetail( errorCode, text, &reqUrl );
  QDataStream stream(raw, IO_ReadOnly);

  stream >> errorName >> techName >> description >> causes >> solutions;
  ...

This is the status as of KDE_3_3_BRANCH, and HEAD as well.

My question: Has this been forgotten? Or has this code been superseded and can 
safely be deleted?

mfg
 Leo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050105/f71ff4f1/attachment.sig>


More information about the kfm-devel mailing list