From dc707f0855a7b8a5c98456d4b8cd65d1a7ea3514 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 11 Feb 2019 16:44:14 +0100 Subject: Make client certificate store thread safe If the users manipulate the API from the UI, we need to read from the UI thread as well. Change-Id: I8af787a357954cff4fbdd94bcf27b880fb6aecb4 Reviewed-by: Michal Klocek --- .../tst_qwebengineclientcertificatestore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/core/qwebengineclientcertificatestore/tst_qwebengineclientcertificatestore.cpp') diff --git a/tests/auto/core/qwebengineclientcertificatestore/tst_qwebengineclientcertificatestore.cpp b/tests/auto/core/qwebengineclientcertificatestore/tst_qwebengineclientcertificatestore.cpp index 5c4d82f46..fe2f71418 100644 --- a/tests/auto/core/qwebengineclientcertificatestore/tst_qwebengineclientcertificatestore.cpp +++ b/tests/auto/core/qwebengineclientcertificatestore/tst_qwebengineclientcertificatestore.cpp @@ -85,7 +85,7 @@ void tst_QWebEngineClientCertificateStore::removeAndClearCertificates() // Remove one certificate from in-memory store auto list = QWebEngineClientCertificateStore::getInstance()->toList(); - QWebEngineClientCertificateStore::getInstance()->remove(list[0]); + QWebEngineClientCertificateStore::getInstance()->remove(list[0].certificate); QCOMPARE(1, QWebEngineClientCertificateStore::getInstance()->toList().length()); // Remove all certificates in-memory store -- cgit v1.2.3