diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-25 15:26:01 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-25 15:26:01 +0100 |
commit | 5dfb7c41d0619bbe0830e04a2f7a8685c1e00a29 (patch) | |
tree | 8986e846cc7f1f979e17b02904f0d0fe4712d357 /src/browser.h | |
parent | astyle pass (diff) | |
download | smolbote-5dfb7c41d0619bbe0830e04a2f7a8685c1e00a29.tar.xz |
--profile no longer causes a crash
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 5 |
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); |