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 24259f9 commit b6ec94515f572a495eee0e19aaef24a726247ec6
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsapplication.cpp
@@ -176,8 +176,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 b6ec945

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