From 4e3c479a0f279926e0bd9a359a0ee57b334e976e Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 8 Dec 2017 14:22:19 +0100 Subject: Replaced tinytoml with libconfig --- src/webengine/webengineprofile.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/webengine/webengineprofile.h') diff --git a/src/webengine/webengineprofile.h b/src/webengine/webengineprofile.h index f457f53..c054349 100644 --- a/src/webengine/webengineprofile.h +++ b/src/webengine/webengineprofile.h @@ -23,14 +23,13 @@ #include #include -#include "forms/profileview.h" class WebEngineProfile : public QWebEngineProfile { Q_OBJECT public: - explicit WebEngineProfile(QObject *parent = Q_NULLPTR); - explicit WebEngineProfile(const QString &name, QObject *parent = Q_NULLPTR); + explicit WebEngineProfile(QObject *parent = nullptr); + explicit WebEngineProfile(const QString &name, const QString &path, QObject *parent = nullptr); ~WebEngineProfile(); @@ -49,9 +48,9 @@ public slots: private: QString m_name; + bool shouldSaveProfile = false; QUrl m_homepage = QUrl("about:blank"); QUrl m_newtab = QUrl("about:blank"); - ProfileView *m_profileDialog = nullptr; }; #endif // WEBENGINEPROFILE_H -- cgit v1.2.1