diff options
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); |