path: root/src/gui
diff options
authorMarc Mutz <>2022-05-14 09:23:53 +0200
committerMarc Mutz <>2022-05-17 18:49:31 +0200
commite4309df71ae99c20b5681ddf1476eca138cee986 (patch)
treef919318870f4ad94a3c2c5e3843a2f7703303bf7 /src/gui
parent9080a810ad9ca49c7a684beca602b02e9c89500a (diff)
qobject_p.h: remove unused qreadwritelock.h include
Only qcoreapplication_p.h uses a QReadWriteLock (tanslationMutex), so include it only there. This include has caused QAtomicPointer<QReadWriteLockPrivate> to percolate to the top-5 of template instantiation hogs when compiling QtWidgets, as reported by Clang -ftime-trace. This patch improves that, because qcoreapplication_p.h isn't part of the PCH and is much less frequently included into QtWidgets TUs (68 instead of 142 times). Pick-to: 6.3 6.2 Change-Id: I2518040d83a04e7cef0645d7f4bf641fb50f49ff Reviewed-by: Fabian Kosmale <>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions