Skip to content

Commit

Permalink
fix saving interface customization to .ini (fixes #17979)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 29, 2018
1 parent fb8f3e9 commit 9a020ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgscustomization.cpp
Expand Up @@ -245,7 +245,7 @@ void QgsCustomizationDialog::actionSave_triggered( bool checked )
QFileInfo fileInfo( fileName );
mySettings.setValue( mLastDirSettingsName, fileInfo.absoluteDir().absolutePath() );

QSettings fileSettings( fileName );
QSettings fileSettings( fileName, QSettings::IniFormat );
treeToSettings( &fileSettings );
}

Expand All @@ -264,7 +264,7 @@ void QgsCustomizationDialog::actionLoad_triggered( bool checked )
QFileInfo fileInfo( fileName );
mySettings.setValue( mLastDirSettingsName, fileInfo.absoluteDir().absolutePath() );

QSettings fileSettings( fileName );
QSettings fileSettings( fileName, QSettings::IniFormat );
settingsToTree( &fileSettings );
}

Expand Down

0 comments on commit 9a020ea

Please sign in to comment.