[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/webkitkde/kdenetwork
From:       Jakub Stachowski <qbast () go2 ! pl>
Date:       2009-03-31 20:54:02
Message-ID: 1238532842.592769.26545.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 947598 by qbast:

Fix redirection.
Apparently QtWebKit only accepts QUrl and subclass like KUrl is not good enough.



 M  +1 -1      knetworkreply.cpp  


--- trunk/playground/libs/webkitkde/kdenetwork/knetworkreply.cpp #947597:947598
@@ -204,7 +204,7 @@
 {
     job->kill();
     d->m_kioJob=0;
-    setAttribute(QNetworkRequest::RedirectionTargetAttribute, url);
+    setAttribute(QNetworkRequest::RedirectionTargetAttribute, QUrl(url));
     emit finished();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic