aboutsummaryrefslogtreecommitdiff
path: root/lib/web/webprofile.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-07 13:11:58 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-07 13:11:58 +0200
commit4739f509d9d5ebaef71a51cece8f75b6a7e4b3dc (patch)
treee3f89c1db2aaaa605f0cbd4d752479a611fb5aac /lib/web/webprofile.cpp
parentSome cppcheck fixes (diff)
downloadsmolbote-4739f509d9d5ebaef71a51cece8f75b6a7e4b3dc.tar.xz
Move ProfileManager to libweb
Diffstat (limited to 'lib/web/webprofile.cpp')
-rw-r--r--lib/web/webprofile.cpp6
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));