aboutsummaryrefslogtreecommitdiff
path: root/src/browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser.cpp')
-rw-r--r--src/browser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index e11a1da..0b076ca 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -118,7 +118,7 @@ QPair<QString, Profile *> Browser::loadProfile(const QString &id, bool isOffTheR
if(h.length() == 2)
interceptor->addHttpHeader(h.at(0).toLatin1(), h.at(1).toLatin1());
}
- profile->setRequestInterceptor(interceptor);
+ profile->setUrlRequestInterceptor(interceptor);
spdlog::info("Added profile: {}{}", qUtf8Printable(_id), profile->isOffTheRecord() ? " (otr)" : "");
return QPair<QString, WebProfile *>(_id, profile);