aboutsummaryrefslogtreecommitdiff
path: root/src/browser.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-24 17:27:44 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-24 17:27:44 +0200
commite81526f15e8c1e9c82b27009dbe512f78cf1dc0f (patch)
treeea9a140347b6077d0521f85da4f9d881185fbb90 /src/browser.cpp
parentSplit shortcuts into new tab (diff)
downloadsmolbote-e81526f15e8c1e9c82b27009dbe512f78cf1dc0f.tar.xz
Add Session class
Diffstat (limited to 'src/browser.cpp')
-rw-r--r--src/browser.cpp4
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);