forked from qt-creator/qt-creator
Fix compatibility with Qt 6 QMutex's non-recursive
QMutex in Qt 6 cannot be recursive. So don't call the constructor to pass the option that isn't needed. Change-Id: I9709abb1c3734e10a7defffd1607e76745b5cf0a Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
|||||||
Q_GLOBAL_STATIC(QLibrary, gUvscLibrary)
|
Q_GLOBAL_STATIC(QLibrary, gUvscLibrary)
|
||||||
Q_GLOBAL_STATIC(QVector<UvscClient *>, gUvscClients)
|
Q_GLOBAL_STATIC(QVector<UvscClient *>, gUvscClients)
|
||||||
|
|
||||||
static QMutex gUvscsGuard(QMutex::NonRecursive);
|
static QMutex gUvscsGuard;
|
||||||
|
|
||||||
static QStringList childrenINamesOf(const QString &parentIName, const QStringList &allINames)
|
static QStringList childrenINamesOf(const QString &parentIName, const QStringList &allINames)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user