Skip to content
Permalink
Browse files

change mode of locker

  • Loading branch information
3nids committed May 15, 2020
1 parent 6eae625 commit 74607479ccaa94cc0166ee8172e3e6ad8cf5deed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgslocalizeddatapathregistry.cpp
@@ -82,7 +82,7 @@ void QgsLocalizedDataPathRegistry::registerPath( const QString &path, int positi
if ( mPaths.contains( dir ) )
return;

QgsReadWriteLocker locker( mLock, QgsReadWriteLocker::Write );
locker.changeMode( QgsReadWriteLocker::Write );

if ( position >= 0 && position < mPaths.count() )
mPaths.insert( position, dir );

0 comments on commit 7460747

Please sign in to comment.
You can’t perform that action at this time.