*** apps/konqueror/src/konqview.cpp.old	2009-07-20 21:53:02.000000000 +0900
--- apps/konqueror/src/konqview.cpp	2009-06-10 15:35:31.000000000 +0900
***************
*** 866,871 ****
--- 866,872 ----
    if ( h.reload == false && browserExtension() )
    {
      //kDebug(1202) << "Restoring view from stream";
+ #ifdef	ORIGINAL_CODE
      QDataStream stream( h.buffer );
  
      browserExtension()->restoreState( stream );
***************
*** 874,879 ****
--- 875,898 ----
      m_postContentType = h.postContentType;
      m_postData = h.postData;
      m_pageReferrer = h.pageReferrer;
+ #else
+     if (m_pPart->url() == h.url)
+     {
+ 	    h.reload = true;
+ 	    m_pPart->openUrl( h.url );
+     }
+     else
+     {
+     QDataStream stream( h.buffer );
+ 
+     browserExtension()->restoreState( stream );
+ 
+     m_doPost = h.doPost;
+     m_postContentType = h.postContentType;
+     m_postData = h.postData;
+     m_pageReferrer = h.pageReferrer;
+     }
+ #endif
    }
    else
      m_pPart->openUrl( h.url );
