dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
56 stars 18 forks source link

Bug: Section headings in kraft(database)rc are case sensitive #173

Closed noseshimself closed 2 years ago

noseshimself commented 2 years ago

According to the Geneva Conventions the section headers SHOULD be case insensitive in .ini-type configuration files. ("SHOULD" meaning "there has to be a damn good reason not to do this"").

They aren't.

I had a prepared section

[MySQL settings]

and Kraft added

[mysql settings]

completely ingnoring me.

dragotin commented 2 years ago

While that is not nice of Kraft, that is the behaviour of the QSettings class of Qt. It is explained in the QSettings docs.