Issue #508: Settings saved to different INI files in different folders (dismine/valentina)

New issue 508: Settings saved to different INI files in different folders https://bitbucket.org/valentinateam/valentina/issues/508/settings-saved-to-different-ini-files-in

Holger Pandel:

Currently, there are three INI files with the following structure under Windows:

  • %AppData%\ValentinaTeam\valentina.ini
  • %AppData%\ValentinaTeam\tape.ini
  • %AppData%\ValentinaTeam.ini

It is not really consistent to put two of them inside the “ValentinaTeam” folder and the third one up one directory.

I think, for a more consistent structure, you should initialize the QSettings object in vcommonsettings.cpp something like this (I’d prefer the second example):

#!c++

QSettings settings(this->format(), this->scope(), this->organizationName(), this->organizationName()); 

or 

QSettings settings(this->format(), this->scope(), this->organizationName(), "common"); 

This would keep all of the three files inside the %AppData%\ValentinaTeam folder, what I think is a bit better.