mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Use QRecursiveMutex
QMutex with QMutex::Recursive is deprecated
This commit is contained in:
@@ -299,7 +299,7 @@ namespace BlackMisc
|
||||
void markAllAsSaved(const QStringList &keys);
|
||||
|
||||
//! Mutex protecting operations which are critical on m_elements.
|
||||
mutable QMutex m_mutex { QMutex::Recursive };
|
||||
mutable QRecursiveMutex m_mutex;
|
||||
|
||||
protected:
|
||||
//! Synchronously return a current value.
|
||||
|
||||
Reference in New Issue
Block a user