diff options
Diffstat (limited to 'src/webengine/webengineprofile.h')
-rw-r--r-- | src/webengine/webengineprofile.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 <QWebEngineProfile> #include <QUrl> -#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 |