aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor/profileeditorplugin.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-07 12:34:16 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-07 12:34:16 +0200
commitaaca93be3d8f153dce3ae98d4d4787463f3210cf (patch)
treefb2eeabd937e056bd5006f3aca1f19b9776a31c3 /plugins/ProfileEditor/profileeditorplugin.h
parentCheck URL validity before searching (diff)
downloadsmolbote-aaca93be3d8f153dce3ae98d4d4787463f3210cf.tar.xz
Don't copy profiles into profile manager plugin
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.h')
-rw-r--r--plugins/ProfileEditor/profileeditorplugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.h b/plugins/ProfileEditor/profileeditorplugin.h
index 7ae0a57..db82cfb 100644
--- a/plugins/ProfileEditor/profileeditorplugin.h
+++ b/plugins/ProfileEditor/profileeditorplugin.h
@@ -25,11 +25,11 @@ public:
QHash<QString, std::function<int()>> commands() override;
// ProfileInterface
- void addProfile(const QString &name, QWebEngineProfile *profile) override;
+ void setProfiles(QHash<QString, WebProfile *> *profiles) override;
QDialog *createWidget(QWidget *parent) override;
private:
- QHash<QString, QWebEngineProfile *> profiles;
+ QHash<QString, WebProfile *> *profiles;
};
#endif //PROFILEEDITOR_PLUGIN_H