Skip to content
Permalink
Browse files

fix saving interface customization to .ini (fixes #17979)

  • Loading branch information
nirvn committed Jan 29, 2018
1 parent fb8f3e9 commit 9a020ea792758bfd7e5e7c07c76010f2fa502e7d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgscustomization.cpp
@@ -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 );
}

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

0 comments on commit 9a020ea

Please sign in to comment.
You can’t perform that action at this time.