Skip to content

Commit df9d2d6

Browse files
authored
Merge pull request #9937 from qgis/backport-9935-to-release-3_6
[Backport release-3_6] remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
2 parents b217469 + 29f51f7 commit df9d2d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/qgsapplication.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ void QgsApplication::init( QString profileFolder )
176176
{
177177
if ( getenv( "QGIS_CUSTOM_CONFIG_PATH" ) )
178178
{
179-
QString envProfileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
180-
profileFolder = envProfileFolder + QDir::separator() + "profiles";
179+
profileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
181180
}
182181
else
183182
{

0 commit comments

Comments
 (0)