summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-09-11 14:39:43 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-09-12 11:58:11 +0000
commit7de23e9fbb4c48152de5c1d26ed34cd68666aa30 (patch)
tree3e87af7e1995c80334abc4c94721df8e92668e25 /examples
parenta5e680c2ef404693870aedfb10f22ffc83cd38e7 (diff)
Correct cert to certificate
Change-Id: I7534aa6cd0c2a95403ad997095d5de76216f228e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/simplebrowser/webpage.cpp2
-rw-r--r--examples/webenginewidgets/simplebrowser/webpage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/webenginewidgets/simplebrowser/webpage.cpp b/examples/webenginewidgets/simplebrowser/webpage.cpp
index 1859bad9..ab9dce4b 100644
--- a/examples/webenginewidgets/simplebrowser/webpage.cpp
+++ b/examples/webenginewidgets/simplebrowser/webpage.cpp
@@ -198,7 +198,7 @@ void WebPage::handleRegisterProtocolHandlerRequested(QWebEngineRegisterProtocolH
//! [registerProtocolHandlerRequested]
#if QT_CONFIG(ssl)
-void WebPage::handleSelectClientCertificate(QWebEngineClientCertSelection selection)
+void WebPage::handleSelectClientCertificate(QWebEngineClientCertificateSelection selection)
{
// Just select one.
selection.select(selection.certificates().at(0));
diff --git a/examples/webenginewidgets/simplebrowser/webpage.h b/examples/webenginewidgets/simplebrowser/webpage.h
index 72cea530..0b351ab3 100644
--- a/examples/webenginewidgets/simplebrowser/webpage.h
+++ b/examples/webenginewidgets/simplebrowser/webpage.h
@@ -70,7 +70,7 @@ private slots:
void handleProxyAuthenticationRequired(const QUrl &requestUrl, QAuthenticator *auth, const QString &proxyHost);
void handleRegisterProtocolHandlerRequested(QWebEngineRegisterProtocolHandlerRequest request);
#if QT_CONFIG(ssl)
- void handleSelectClientCertificate(QWebEngineClientCertSelection clientCertSelection);
+ void handleSelectClientCertificate(QWebEngineClientCertificateSelection clientCertSelection);
#endif
};