title: Signal QWebPage::loadFinished(bool) returns twice?
body: <p>I got a problem with QWebPage::loadFinished (bool) signal , it calls back twice , is that normal ? ( there's no link following at all , e.g HTTP status 302 )</p>
  
  <p>Consider the following code , the whole thing may cause problem , is trying to load another link within that slot , will this be a problem ?</p>
  
  <p>If i do a <code>qDebug() &lt;&lt; thisUrl;</code> each time in <code>loadFinished(bool)</code> slot , i could see it for 3 times , is that normal , one for url <code>XXX</code> , and two for url <code>YYY</code> , and the last two links are exactly the same.</p>
  
  <pre><code>class Dummy
  {
      public:
          Dummy() 
          { 
              page = new QWebPage(this);  
              connect (page , SIGNAL(loadFinished(bool)) , SLOT(loadFinished(bool)));
              page-&gt;mainFrame()-&gt;load ("XXX");
          }
  
      private:
          QWebPage *page;
  
      private slots:
          void loadFinished (bool ok)
          {
              if ( ! ok ) return;
  
              const QString &amp; thisUrl = page-&gt;mainFrame()-&gt;url().toString();
  
              if ( thisUrl matches XXX )
              {
                  // parse reply message of url XXX
                  page-&gt;mainFrame()-&gt;load ("YYY");
                  return;
              }
  
              if ( thisUrl matches YYY )
              {
                  // parse reply message of url YYY
                  return;
              }
          }
  };
  </code></pre>