Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
[WebKit-https.git] / WebKitQt / Api / qwebobjectpluginconnector.cpp
index 1554a5c292315b419aa84d23a51acc091305db79..9bd3d231fb02f4c53f88d65833eff27bde416d9c 100644 (file)
@@ -56,7 +56,7 @@ QWebNetworkJob *QWebObjectPluginConnector::requestUrl(QWebNetworkJob::Method met
     p->connector = this;
 
     QString m = (method == QWebNetworkJob::Get ? "GET" : "POST");
-    p->setDefaults(m, url);
+    p->init(m, url);
 
     d->frame->page()->networkInterface()->addJob(job);
     return job;