diff options
Diffstat (limited to 'lib/web/webprofile.h')
-rw-r--r-- | lib/web/webprofile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/web/webprofile.h b/lib/web/webprofile.h index 31c5b44..a421359 100644 --- a/lib/web/webprofile.h +++ b/lib/web/webprofile.h @@ -34,9 +34,9 @@ class WebProfile : public QWebEngineProfile public: // off-the-record constructor - explicit WebProfile(QObject *parent = nullptr); - // default constructor explicit WebProfile(const QString &name, QObject *parent = nullptr); + // default constructor + explicit WebProfile(const QString &storageName, const QString &name, QObject *parent = nullptr); ~WebProfile() = default; @@ -108,7 +108,7 @@ private: QUrl m_newtab = QUrl("about:blank"); }; -void loadProfile(WebProfile *profile, const QHash<QString, QString> &defaults, const QString &path); +WebProfile* loadProfile(const QString &name, const QHash<QString, QString> &defaults, const QString &path = QString()); //WebProfile *saveProfile(WebProfile *profile, const QString &path); #endif // SMOLBOTE_WEBENGINEPROFILE_H |