Skip to content
Permalink
Browse files

crssync: put profile to temporary directory (fixes #33743)

  • Loading branch information
jef-n authored and nyalldawson committed Jan 12, 2020
1 parent 0a4f0e5 commit be4f45e721abc1fccba93fcbc947fa3f8de1d690
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/crssync/main.cpp
@@ -20,6 +20,7 @@
#include "qgsconfig.h"

#include <QRegExp>
#include <QTemporaryDir>

#include <iostream>
#include <limits>
@@ -50,7 +51,8 @@ int main( int argc, char **argv )
verbose = true;
}

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

if ( !QgsApplication::isRunningFromBuildDir() )
{

0 comments on commit be4f45e

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