mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Address deprecation warning
QMutexRecursive has been introduced with Qt 5.14, the warning with Qt 5.15.2
This commit is contained in:
parent
833f8c148e
commit
3be39de1f7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user