From 1581e94b9ac98f5d385a71a5bfbde81da22da2b2 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 24 Jun 2018 18:42:40 +0200 Subject: Add ProfileManager --- lib/web/webprofile.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/web/webprofile.h') diff --git a/lib/web/webprofile.h b/lib/web/webprofile.h index d41625c..5107b8f 100644 --- a/lib/web/webprofile.h +++ b/lib/web/webprofile.h @@ -54,13 +54,6 @@ public: return WebProfile::profile; } - static WebProfile* loadProfile(const QString &name, const QHash &defaults, const QString &path = QString(), QObject *parent = nullptr); - - const QString id() const - { - return profiles.key(const_cast(this), ""); - } - QString name() const { return m_name; @@ -112,9 +105,7 @@ signals: private: static WebProfile *profile; - static QMap profiles; - QString m_id; QString m_configPath; QString m_name; QString m_search = QString("about:blank"); -- cgit v1.2.1