1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-19 06:08:51 -04:00

Replace deprecated QMutex(Recursive) with QRecursiveMutex

This commit is contained in:
Jiří Pinkava
2022-09-15 21:59:42 +02:00
parent b20b3ea343
commit 0df2d75e6d
234 changed files with 310 additions and 432 deletions
+3 -6
View File
@@ -41,8 +41,7 @@ void DataFifo::reset()
DataFifo::DataFifo(QObject* parent) :
QObject(parent),
m_data(),
m_currentDataType(DataTypeI16),
m_mutex(QMutex::Recursive)
m_currentDataType(DataTypeI16)
{
setObjectName("DataFifo");
m_suppressed = -1;
@@ -55,8 +54,7 @@ DataFifo::DataFifo(QObject* parent) :
DataFifo::DataFifo(int size, QObject* parent) :
QObject(parent),
m_data(),
m_currentDataType(DataTypeI16),
m_mutex(QMutex::Recursive)
m_currentDataType(DataTypeI16)
{
setObjectName("DataFifo");
m_suppressed = -1;
@@ -66,8 +64,7 @@ DataFifo::DataFifo(int size, QObject* parent) :
DataFifo::DataFifo(const DataFifo& other) :
QObject(other.parent()),
m_data(other.m_data),
m_currentDataType(DataTypeI16),
m_mutex(QMutex::Recursive)
m_currentDataType(DataTypeI16)
{
setObjectName("DataFifo");
m_suppressed = -1;