aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt6/qt3d/0001-Fix-compilation-with-latest-QMutexLocker-changed.patch
blob: 03785dc42c251dde33ab83db6ed16bba1d83e9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 1c7c8ce10b76afa98f46e98523c0cb91211dba85 Mon Sep 17 00:00:00 2001
From: Mikko Gronoff <mikko.gronoff@qt.io>
Date: Wed, 28 Oct 2020 12:21:27 +0200
Subject: [PATCH] Fix compilation with latest QMutexLocker changed

---
 src/core/resources/qresourcemanager_p.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/resources/qresourcemanager_p.h b/src/core/resources/qresourcemanager_p.h
index 82e8ad17f..954f7b5e4 100644
--- a/src/core/resources/qresourcemanager_p.h
+++ b/src/core/resources/qresourcemanager_p.h
@@ -165,7 +165,7 @@ public :
         }
 
     private:
-        QMutexLocker m_locker;
+        QMutexLocker<QMutex> m_locker;
     };
 
 private: