diff options
Diffstat (limited to 'lib/web/webprofile.cpp')
-rw-r--r-- | lib/web/webprofile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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)); |