Skip to content

Commit e730fa1

Browse files
committed
remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
Signed-off-by: Marco Bernasocchi <marco@opengis.ch> Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
1 parent 3ee2d76 commit e730fa1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/qgsapplication.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ void QgsApplication::init( QString profileFolder )
172172
{
173173
if ( getenv( "QGIS_CUSTOM_CONFIG_PATH" ) )
174174
{
175-
QString envProfileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
176-
profileFolder = envProfileFolder + QDir::separator() + "profiles";
175+
profileFolder = getenv( "QGIS_CUSTOM_CONFIG_PATH" );
177176
}
178177
else
179178
{

0 commit comments

Comments
 (0)