bugfix KHTMLPart::started(KIO::Job *job)

Grimm, Cornelius grimm at valudo.de
Wed Aug 27 10:08:32 BST 2003


Hi,

in the end of KHTMLPart::openURL( const KURL &url ) the signal
"started(...)" is emitted without parameter, but I think it should pass it's
job (d->m_job) as parameter.

The following code fixes that. Could someone commit it to the cvs
repository?

And another question, could someone give me some feedback if this is the
right way for me to submit bug fixes?

Thanks,
Cornelius

At the end of KHTMLPart::openURL(...):
[snip]
--- /tmp/khtml_part.cpp 2003-08-27 10:27:18.000000000 +0200
+++ khtml_part.cpp      2003-08-27 10:42:03.000000000 +0200
@@ -632,7 +632,7 @@
            this, SLOT( slotJobDone( KIO::Job* ) ) );
  
   d->m_jobspeed = 0;
-  emit started( 0L );
+  emit started( d->m_job );
  
   return true;
 }
[snap]




More information about the kfm-devel mailing list