We don't need to clear the page if we're visiting about:blank
This commit is contained in:
parent
5b57eee8c5
commit
b3b1adf63f
|
@ -10,7 +10,6 @@ void Reset::start(QStringList &arguments) {
|
|||
Q_UNUSED(arguments);
|
||||
|
||||
page()->triggerAction(QWebPage::Stop);
|
||||
page()->currentFrame()->setHtml("<html><body></body></html>");
|
||||
page()->networkAccessManager()->setCookieJar(new NetworkCookieJar());
|
||||
page()->setCustomNetworkAccessManager();
|
||||
page()->setUserAgent(NULL);
|
||||
|
|
Loading…
Reference in New Issue