Skip to content
Permalink
Browse files

remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set

Signed-off-by: Marco Bernasocchi <marco@opengis.ch>

Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
  • Loading branch information
mbernasocchi committed May 6, 2019
1 parent 3ee2d76 commit e730fa15cfd5e59324e851d1c39a1085b1a5a366
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsapplication.cpp
@@ -172,8 +172,7 @@ void QgsApplication::init( QString profileFolder )
{
if ( getenv( "QGIS_CUSTOM_CONFIG_PATH" ) )
{
QString envProfileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
profileFolder = envProfileFolder + QDir::separator() + "profiles";
profileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
}
else
{

0 comments on commit e730fa1

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