summaryrefslogtreecommitdiffstats
path: root/src/knx/ssl
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2020-10-23 09:43:49 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2020-11-09 22:08:31 +0200
commit5f97dc372e26efc780aeb0e28416d227bde3d376 (patch)
tree5fb3961b3f29e146e8a5a3cc4818079f14fd319b /src/knx/ssl
parent0b359afde6575f81b699f0baf80edbb2904a56b9 (diff)
Compile fix, update qtbase dependency6.0.0
Change-Id: Ic80537d02f8bf1ea19356dad5e4ea07992db7fa9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/knx/ssl')
-rw-r--r--src/knx/ssl/qknxssl_openssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knx/ssl/qknxssl_openssl.cpp b/src/knx/ssl/qknxssl_openssl.cpp
index db07366..93bf4f2 100644
--- a/src/knx/ssl/qknxssl_openssl.cpp
+++ b/src/knx/ssl/qknxssl_openssl.cpp
@@ -58,7 +58,7 @@ bool QKnxOpenSsl::s_libraryLoaded = false;
bool QKnxOpenSsl::s_libraryEnabled = false;
Q_GLOBAL_STATIC(QKnxOpenSsl, qt_QKnxOpenSsl)
-Q_GLOBAL_STATIC_WITH_ARGS(QMutex, qt_knxOpenSslInitMutex, (QMutex::Recursive))
+Q_GLOBAL_STATIC(QRecursiveMutex, qt_knxOpenSslInitMutex)
/*!
\internal
@@ -69,7 +69,7 @@ bool QKnxOpenSsl::supportsSsl()
if (!QKnxPrivate::q_resolveOpenSslSymbols())
return false;
- const QMutexLocker locker(qt_knxOpenSslInitMutex);
+ const QMutexLocker<QRecursiveMutex> locker(qt_knxOpenSslInitMutex);
if (!s_libraryLoaded) {
s_libraryLoaded = true;