Skip to content
Permalink
Browse files
crssync: write settings to temporary directory (fixes #44793)
(cherry picked from commit 322ae33)
  • Loading branch information
jef-n committed Aug 23, 2021
1 parent adb5e30 commit a438bea47e7fe312a1c411480b5aa24eab6e558e
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;
}

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

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

0 comments on commit a438bea

Please sign in to comment.