From 4739f509d9d5ebaef71a51cece8f75b6a7e4b3dc Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 7 Sep 2018 13:11:58 +0200 Subject: Move ProfileManager to libweb --- lib/web/webprofile.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/web/webprofile.cpp') diff --git a/lib/web/webprofile.cpp b/lib/web/webprofile.cpp index 9b16a61..d42bb26 100644 --- a/lib/web/webprofile.cpp +++ b/lib/web/webprofile.cpp @@ -14,11 +14,10 @@ WebProfile *WebProfile::profile = nullptr; -WebProfile::WebProfile(const QString &name, const QString &configPath, QObject *parent) +WebProfile::WebProfile(const QString &name, QObject *parent) : QWebEngineProfile(parent) { m_name = name; - m_configPath = configPath; #ifdef QT_DEBUG qDebug("Creating otr profile %s", qUtf8Printable(m_name)); @@ -32,11 +31,10 @@ WebProfile::WebProfile(const QString &name, const QString &configPath, QObject * }); } -WebProfile::WebProfile(const QString &storageName, const QString &name, const QString &configPath, QObject *parent) +WebProfile::WebProfile(const QString &storageName, const QString &name, QObject *parent) : QWebEngineProfile(storageName, parent) { m_name = name; - m_configPath = configPath; #ifdef QT_DEBUG qDebug("Creating profile %s", qUtf8Printable(m_name)); -- cgit v1.2.1