summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2019-03-06 13:56:01 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2019-03-07 08:21:22 +0000
commitdc6c8d5c9fe61ba58d065564f4d6dc0571475004 (patch)
tree44b1edbea4ace619298b574f04b7ec993b00d8e4 /src/webenginewidgets/api
parenta64565af1e2d83665b8a0ece77750ac50555423a (diff)
Fix -no-ssl buildv5.13.0-beta1
Change-Id: I978f70545484060218f5243c74978c85bc603c16 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginewidgets/api')
-rw-r--r--src/webenginewidgets/api/qwebengineprofile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.cpp b/src/webenginewidgets/api/qwebengineprofile.cpp
index 50de63e9a..d69ddb343 100644
--- a/src/webenginewidgets/api/qwebengineprofile.cpp
+++ b/src/webenginewidgets/api/qwebengineprofile.cpp
@@ -871,8 +871,12 @@ void QWebEngineProfile::clearHttpCache()
*/
QWebEngineClientCertificateStore *QWebEngineProfile::clientCertificateStore()
{
+#if QT_CONFIG(ssl)
Q_D(QWebEngineProfile);
return d->profileAdapter()->clientCertificateStore();
+#else
+ return nullptr;
+#endif
}
QT_END_NAMESPACE