aboutsummaryrefslogtreecommitdiff
path: root/lib/web/webprofile.h
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.h
parentSome cppcheck fixes (diff)
downloadsmolbote-4739f509d9d5ebaef71a51cece8f75b6a7e4b3dc.tar.xz
Move ProfileManager to libweb
Diffstat (limited to 'lib/web/webprofile.h')
-rw-r--r--lib/web/webprofile.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/web/webprofile.h b/lib/web/webprofile.h
index 5107b8f..260ff36 100644
--- a/lib/web/webprofile.h
+++ b/lib/web/webprofile.h
@@ -37,9 +37,9 @@ class WebProfile : public QWebEngineProfile
public:
// off-the-record constructor
- explicit WebProfile(const QString &name, const QString &configPath, QObject *parent = nullptr);
+ explicit WebProfile(const QString &name, QObject *parent = nullptr);
// default constructor
- explicit WebProfile(const QString &storageName, const QString &name, const QString &configPath, QObject *parent = nullptr);
+ explicit WebProfile(const QString &storageName, const QString &name, QObject *parent = nullptr);
~WebProfile() = default;
@@ -58,10 +58,6 @@ public:
{
return m_name;
}
- QString configurationPath() const
- {
- return m_configPath;
- }
const QVector<QNetworkCookie> cookies() const
{
@@ -106,7 +102,6 @@ signals:
private:
static WebProfile *profile;
- QString m_configPath;
QString m_name;
QString m_search = QString("about:blank");
QUrl m_homepage = QUrl("about:blank");