summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-02-27 09:17:51 -0800
committerThiago Macieira <thiago.macieira@intel.com>2017-03-03 15:29:57 +0000
commitb736d2d7ce24b43882255a2af7db90dcaa227bfd (patch)
tree1eea2b6f2328cfcdbf151339804428ebd9b44234 /src/network
parent62e6aa6195680fde73807bab3a43c63f10c585f3 (diff)
Remove the last remaining non-SSL use of QMutexPool in Qt
Task-number: QTBUG-59164 Change-Id: Idd5ceba1eba34cb78c46fffd14a734735991f4fb Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qauthenticator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index 107addae58..099d9586d2 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -1445,7 +1445,8 @@ static PSecurityFunctionTable pSecurityFunctionTable = NULL;
static bool q_NTLM_SSPI_library_load()
{
- QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&pSecurityFunctionTable));
+ static QBasicMutex mutex;
+ QMutexLocker l(&mutex);
// Initialize security interface
if (pSecurityFunctionTable == NULL) {