qt6-bb10/src
Marc Mutz fd785c3899 QtCore: port all QMutexLocker users to qt_{scoped,unique}_lock
... except four instances in QCoreApplication that would conflict with
another change.

Replace a locally-defined MutexUnlocker with a call to unlock() +
qScopedGuard'ed lock() to avoid having to spell out the locker type
while we can't depend on C++17 CTAD, yet.

In QSettings, move the new mutex locker into and out of
initDefaultPaths(), such as is idiomatic for std::unique_lock, but
wasn't possible with QMutexLocker (which is not movable).

Change-Id: I23056e13ecaa76159db583c7dccc6e05715e0788
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2019-08-25 12:00:28 +00:00
..
3rdparty Fix build without features.dlopen 2019-08-19 01:51:32 +09:00
android Merge remote-tracking branch 'origin/5.13' into dev 2019-07-10 10:39:33 +02:00
angle Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-28 01:00:23 +02:00
concurrent Port away from QMutexLocker in public headers 2019-08-25 04:48:11 +00:00
corelib QtCore: port all QMutexLocker users to qt_{scoped,unique}_lock 2019-08-25 12:00:28 +00:00
dbus QtDBus: port all QMutexLocker users to qt_{scoped,unique}_lock 2019-08-23 08:44:03 +02:00
gui Widget style: Use per-screen DPI in QStyleHelper::dpiScaled() 2019-08-23 01:41:33 +00:00
network QNetworkConnectionMonitor(win): Fix memory leak 2019-08-25 09:54:06 +00:00
opengl Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
openglextensions Move forward-declaration inside of namespace 2019-05-15 10:58:49 +00:00
platformheaders Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
platformsupport Merge remote-tracking branch 'origin/5.13' into dev 2019-08-16 01:00:33 +02:00
plugins Widget style: Use per-screen DPI in QStyleHelper::dpiScaled() 2019-08-23 01:41:33 +00:00
printsupport Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
sql Fix build without feature.stringlistmodel 2019-06-30 17:16:52 +09:00
testlib Merge remote-tracking branch 'origin/5.13' into dev 2019-08-16 01:00:33 +02:00
tools Add support for calendars beside Gregorian 2019-08-20 13:41:21 +02:00
widgets Widget style: Use per-screen DPI in QStyleHelper::dpiScaled() 2019-08-23 01:41:33 +00:00
winmain Merge remote-tracking branch 'origin/5.13' into dev 2019-05-27 15:34:10 +02:00
xml Be less laissez-faire with implicit conversions to QChar 2019-07-09 07:09:44 +02:00
src.pro Merge remote-tracking branch 'origin/5.13' into dev 2019-07-17 10:44:21 +02:00