Skip to content

Commit

Permalink
remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
Browse files Browse the repository at this point in the history
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 24510cb commit 29f51f7
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 29f51f7

Please sign in to comment.