Skip to content
Permalink
Browse files
Merge pull request #43209 from zy6p/patch-qt6-qmutex
[qt6] Use RecursiveMutex instead of QMutex in QgsSpatialIndexData
  • Loading branch information
m-kuhn committed May 15, 2021
2 parents a701fe6 + 9e3f95e commit 8abb1786de05c072672c01735581f4df8c875942
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsspatialindex.cpp
@@ -329,7 +329,11 @@ class QgsSpatialIndexData : public QSharedData
//! R-tree containing spatial index
SpatialIndex::ISpatialIndex *mRTree = nullptr;

#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
mutable QMutex mMutex;
#else
mutable QRecursiveMutex mMutex;
#endif

};

0 comments on commit 8abb178

Please sign in to comment.