Merge pull request #9935 from mbernasocchi/fix_profiles_profiles

remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
This commit is contained in:
Marco Bernasocchi 2019-05-06 17:39:53 +02:00 committed by GitHub
commit e213bde9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
{