Skip to content
Permalink
Browse files

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

  • Loading branch information
github-actions authored and nyalldawson committed Jan 14, 2020
1 parent 1751d8e commit db8073b8e9a55a1fe54400b60d9d23d9af0265dc
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 db8073b

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