Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
crssync: put profile to temporary directory (fixes #33743)
  • Loading branch information
jef-n authored and nyalldawson committed Jan 14, 2020
1 parent 0a4f0e5 commit be4f45e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crssync/main.cpp
Expand Up @@ -20,6 +20,7 @@
#include "qgsconfig.h"

#include <QRegExp>
#include <QTemporaryDir>

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

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

if ( !QgsApplication::isRunningFromBuildDir() )
{
Expand Down

0 comments on commit be4f45e

Please sign in to comment.