QFactoryLoader: there's only one of this, so removeOne(this)

Change-Id: Ice04365c72984d07a64dfffd16b47b4f8223e3fd
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Thiago Macieira 2021-11-04 16:22:26 -07:00
parent ddba24535f
commit 21beaf8745

View File

@ -289,7 +289,7 @@ void QFactoryLoader::update()
QFactoryLoader::~QFactoryLoader()
{
QMutexLocker locker(qt_factoryloader_mutex());
qt_factory_loaders()->removeAll(this);
qt_factory_loaders()->removeOne(this);
}
#if defined(Q_OS_UNIX) && !defined (Q_OS_MAC)