diff options
Diffstat (limited to 'src/webengine/webprofilemanager.h')
-rw-r--r-- | src/webengine/webprofilemanager.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/webengine/webprofilemanager.h b/src/webengine/webprofilemanager.h index 3e82936..2d9cd29 100644 --- a/src/webengine/webprofilemanager.h +++ b/src/webengine/webprofilemanager.h @@ -18,13 +18,6 @@ #include <QSettings> #include <functional> -struct ProfileDefault_t -{ - QString search; - QString homepage; - QString newtab; -}; - class WebProfileManager : public QObject { Q_OBJECT @@ -68,14 +61,6 @@ private: WebProfile *ptr = nullptr; QSettings *settings = nullptr; bool selfDestruct = false; - - QVariant value(const QString &key, const QVariant &defaultValue) const - { - if(settings == nullptr) - return defaultValue; - else - return settings->value(key, defaultValue); - } }; QMap<QString, Profile> profiles; |