Address deprecation warning

QMutexRecursive has been introduced with Qt 5.14, the warning with
Qt 5.15.2
This commit is contained in:
Juergen Spitzmueller 2023-06-11 13:15:55 +02:00
parent 833f8c148e
commit 3be39de1f7

View File

@ -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)
{