diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-24 17:27:44 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-24 17:27:44 +0200 |
commit | e81526f15e8c1e9c82b27009dbe512f78cf1dc0f (patch) | |
tree | ea9a140347b6077d0521f85da4f9d881185fbb90 /src/browser.cpp | |
parent | Split shortcuts into new tab (diff) | |
download | smolbote-e81526f15e8c1e9c82b27009dbe512f78cf1dc0f.tar.xz |
Add Session class
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index e266024..d5a3d3e 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -94,7 +94,7 @@ void Browser::setup(const QString &defaultProfile) for(const QFileInfo &f : entries) { auto name = f.baseName(); - auto *profile = loadProfile(name, defaults, f.absoluteFilePath(), this); + auto *profile = WebProfile::loadProfile(name, defaults, f.absoluteFilePath(), this); m_profiles.insert(name, profile); connect(profile, &WebProfile::destroyed, this, [=]() { m_profiles.remove(name); @@ -106,7 +106,7 @@ void Browser::setup(const QString &defaultProfile) // set default profile if(!m_profiles.contains(defaultProfile)) { // if this profile has not been added, it doesn't have a path - auto *profile = loadProfile(defaultProfile, defaults, QString(), this); + auto *profile = WebProfile::loadProfile(defaultProfile, defaults, QString(), this); m_profiles.insert(defaultProfile, profile); connect(profile, &WebProfile::destroyed, this, [=]() { m_profiles.remove(defaultProfile); |