Skip to content

Commit

Permalink
Merge pull request #9935 from mbernasocchi/fix_profiles_profiles
Browse files Browse the repository at this point in the history
remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
  • Loading branch information
mbernasocchi committed May 6, 2019
2 parents 7376e6f + b6ec945 commit e213bde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsapplication.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit e213bde

Please sign in to comment.