From cf03874dbbaeefbc01a2ffcc73dd36bad2442bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Mon, 26 Oct 2020 16:09:49 +0100 Subject: qsslsocket_schannel: update QMutexLocker usage Following 77d812683f0ad595606f9833613dd49bb2fda26d QMutexLocker is now a templated class which should in most cases be deduced automatically. Doesn't work here because of the global static wrapper. Change-Id: I62fda0651eac12f3234396cb7e41a26df8cc8b46 Reviewed-by: Timur Pocheptsov --- src/network/ssl/qsslsocket_schannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/ssl/qsslsocket_schannel.cpp') diff --git a/src/network/ssl/qsslsocket_schannel.cpp b/src/network/ssl/qsslsocket_schannel.cpp index 0722d380d0..1e59550c59 100644 --- a/src/network/ssl/qsslsocket_schannel.cpp +++ b/src/network/ssl/qsslsocket_schannel.cpp @@ -515,7 +515,7 @@ Q_GLOBAL_STATIC(QRecursiveMutex, qt_schannel_mutex) void QSslSocketPrivate::ensureInitialized() { - const QMutexLocker locker(qt_schannel_mutex); + const QMutexLocker locker(qt_schannel_mutex); if (s_loadedCiphersAndCerts) return; s_loadedCiphersAndCerts = true; -- cgit v1.2.3