Skip to content

Commit e213bde

Browse files
authored
Merge pull request #9935 from mbernasocchi/fix_profiles_profiles
remove redundant /profiles when QGIS_CUSTOM_CONFIG_PATH is set
2 parents 7376e6f + b6ec945 commit e213bde

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
@@ -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)