Commit e588fdcf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Using QMutex in recursive mode is deprecated.

parent 4658ba0d
Pipeline #47203 passed with stage
in 19 minutes and 12 seconds
......@@ -12,7 +12,7 @@
#include "command.h"
#include <QThread>
#include <QMutex>
#include <QRecursiveMutex>
#include <QString>
#include <QStringList>
......@@ -32,7 +32,7 @@ public:
explicit Private(Command *qq)
: QThread(),
q(qq),
mutex(QMutex::Recursive),
mutex(),
inputs(),
outputs()
{
......@@ -47,7 +47,7 @@ private:
void run() override;
private:
QMutex mutex;
QRecursiveMutex mutex;
struct Option {
QVariant value;
bool hasValue : 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment