Skip to content

Commit

Permalink
Merge pull request #9936 from qgis/backport-9935-to-release-3_4
Browse files Browse the repository at this point in the history
[Backport release-3_4] remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
  • Loading branch information
elpaso committed May 8, 2019
2 parents 03f6508 + e730fa1 commit 38b10fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsapplication.cpp
Expand Up @@ -172,8 +172,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 38b10fe

Please sign in to comment.