From 1de59e72087dc982ea8421060402ebec70cea823 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 20 Jan 2019 17:46:15 +0100 Subject: Fix all profiles being created off-the-record --- lib/webprofile/webprofile.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/webprofile/webprofile.cpp') diff --git a/lib/webprofile/webprofile.cpp b/lib/webprofile/webprofile.cpp index ae6993e..b7747a7 100644 --- a/lib/webprofile/webprofile.cpp +++ b/lib/webprofile/webprofile.cpp @@ -19,10 +19,6 @@ WebProfile::WebProfile(const QString &name, QObject *parent) { m_name = name; -#ifdef QT_DEBUG - qDebug("Creating otr profile %s", qUtf8Printable(m_name)); -#endif - connect(this->cookieStore(), &QWebEngineCookieStore::cookieAdded, this, [this](const QNetworkCookie &cookie) { m_cookies.append(cookie); }); @@ -36,10 +32,6 @@ WebProfile::WebProfile(const QString &storageName, const QString &name, QObject { m_name = name; -#ifdef QT_DEBUG - qDebug("Creating profile %s", qUtf8Printable(m_name)); -#endif - connect(this->cookieStore(), &QWebEngineCookieStore::cookieAdded, this, [this](const QNetworkCookie &cookie) { m_cookies.append(cookie); }); -- cgit v1.2.1