Code review comment for lp:~kalikiana/ubuntu-ui-toolkit/appname

Revision history for this message
Zsombor Egri (zsombi) wrote :

Hold on, if I create a QSettings() object right after the application name is set, the path the setting file will be located will look as follows: ~/.config/qt-project.org/AppName.conf.
If I create it with QSetting("", UCApplication::instance().applicationName()), the file path will be ~/.config/Unknown Organization/AppName.conf.

Seems the QCoreApplication::organizationName = "" wasn't good enough. If I set the organizationName to the same as applicationName, then the setting file will be in ~/.config/AppName/AppName.conf

review: Needs Fixing

« Back to merge proposal