Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (11 sloc) 0.383 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
#include "ClearCookies.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "NetworkCookieJar.h"
#include <QNetworkCookie>

ClearCookies::ClearCookies(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}

void ClearCookies::start()
{
  manager()->cookieJar()->clearCookies();
  emit finished(new Response(true));
}
Something went wrong with that request. Please try again.