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:
parent
ddba24535f
commit
21beaf8745
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user