commit 3be39de1f7f151823f8b5ee61cdfca108b1d4560
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Jun 11 13:15:55 2023 +0200
Address deprecation warning
QMutexRecursive has been introduced with Qt 5.14, the warning with
Qt 5.15.2
---
src/support/mutex.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/support/mutex.cpp b/src/support/mutex.cpp
index 89ee2b8..5146969 100644
--- a/src/support/mutex.cpp
+++ b/src/support/mutex.cpp
@@ -20,7 +20,7 @@ namespace lyx {
struct Mutex::Private
{
-#if QT_VERSION < 0x060000
+#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
// QMutex::Recursive: less risks for dead-locks
Private() : qmutex_(QMutex::Recursive)
{
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs