Skip to content
Permalink
Browse files

missing lock

  • Loading branch information
3nids committed May 15, 2020
1 parent 360827a commit 6eae625fac6093a4bb2c9c2e2e35a40a3093da4a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgslocalizeddatapathregistry.cpp
@@ -76,6 +76,8 @@ void QgsLocalizedDataPathRegistry::setPaths( const QStringList &paths )

void QgsLocalizedDataPathRegistry::registerPath( const QString &path, int position )
{
QgsReadWriteLocker locker( mLock, QgsReadWriteLocker::Read );

QDir dir( path );
if ( mPaths.contains( dir ) )
return;

0 comments on commit 6eae625

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