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>
This commit is contained in:
Marco Bernasocchi 2019-05-06 16:26:08 +02:00
parent 24259f92a8
commit b6ec94515f

View File

@ -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
{