summaryrefslogtreecommitdiffstats
path: root/src/core/profile_adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/profile_adapter.cpp')
-rw-r--r--src/core/profile_adapter.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/profile_adapter.cpp b/src/core/profile_adapter.cpp
index 36c756a7e..e9e9aaeda 100644
--- a/src/core/profile_adapter.cpp
+++ b/src/core/profile_adapter.cpp
@@ -63,6 +63,7 @@ ProfileAdapter::ProfileAdapter(const QString &storageName):
, m_httpCacheType(DiskHttpCache)
, m_persistentCookiesPolicy(AllowPersistentCookies)
, m_visitedLinksPolicy(TrackVisitedLinksOnDisk)
+ , m_pushServiceEnabled(false)
, m_httpCacheMaxSize(0)
{
WebEngineContext::current()->addProfileAdapter(this);
@@ -628,14 +629,14 @@ bool ProfileAdapter::isSpellCheckEnabled() const
#endif
}
-QUrl ProfileAdapter::pushServiceEndpoint() const
+bool ProfileAdapter::pushServiceEnabled() const
{
- return m_pushServiceEndpoint;
+ return m_pushServiceEnabled;
}
-void ProfileAdapter::setPushServiceEndpoint(const QUrl &endpoint)
+void ProfileAdapter::setPushServiceEnabled(bool enabled)
{
- m_pushServiceEndpoint = endpoint;
+ m_pushServiceEnabled = enabled;
}
void ProfileAdapter::addWebContentsAdapterClient(WebContentsAdapterClient *client)