aboutsummaryrefslogtreecommitdiff
path: root/src/browser.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-25 15:26:01 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-25 15:26:01 +0100
commit5dfb7c41d0619bbe0830e04a2f7a8685c1e00a29 (patch)
tree8986e846cc7f1f979e17b02904f0d0fe4712d357 /src/browser.h
parentastyle pass (diff)
downloadsmolbote-5dfb7c41d0619bbe0830e04a2f7a8685c1e00a29.tar.xz
--profile no longer causes a crash
Diffstat (limited to 'src/browser.h')
-rw-r--r--src/browser.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/browser.h b/src/browser.h
index bc4a7e4..a193e61 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -29,9 +29,8 @@ public:
void setConfiguration(std::shared_ptr<Configuration> &config);
- void loadProfiles();
- std::shared_ptr<WebEngineProfile> profile(const QString name);
- // QStringList profiles();
+ std::shared_ptr<WebEngineProfile> profile(const QString storageName);
+ QStringList profiles() const;
public slots:
MainWindow *createSession(const QString &profileName, bool newWindow, const QStringList &urls);