Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
change mode of locker
  • Loading branch information
3nids committed May 19, 2020
1 parent 6eae625 commit 7460747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgslocalizeddatapathregistry.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 7460747

Please sign in to comment.