Skip to content
Permalink
Browse files
crssync: write settings to temporary directory (fixes #44793)
  • Loading branch information
jef-n committed Aug 23, 2021
1 parent 48b0d62 commit 8b2a3360b26ca9644c7d22ca48664541f332d40a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/crssync/main.cpp
@@ -51,6 +51,10 @@ int main( int argc, char **argv )
verbose = true;
}

const QTemporaryDir stemp;
QSettings::setDefaultFormat( QSettings::IniFormat );
QSettings::setPath( QSettings::IniFormat, QSettings::UserScope, stemp.path() );

const QTemporaryDir temp;
QgsApplication::init( temp.path() );

0 comments on commit 8b2a336

Please sign in to comment.